X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=apps%2Fverify.c;h=fa517830cf25eb83735cf213dbdc1fc2640e0be0;hp=58a48c7f6310160258d304e0d83bc30ef75958e3;hb=f0e0fd51fd8307f6eae64862ad9aaea113f1177a;hpb=34da11b39d2421f546ec568f355875eec353844c diff --git a/apps/verify.c b/apps/verify.c index 58a48c7f63..fa517830cf 100644 --- a/apps/verify.c +++ b/apps/verify.c @@ -269,7 +269,7 @@ static int check(X509_STORE *ctx, char *file, goto end; } if (tchain) - X509_STORE_CTX_trusted_stack(csc, tchain); + X509_STORE_CTX_set0_trusted_stack(csc, tchain); if (crls) X509_STORE_CTX_set0_crls(csc, crls); i = X509_verify_cert(csc);