Oops.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 15 Mar 2009 14:03:29 +0000 (14:03 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 15 Mar 2009 14:03:29 +0000 (14:03 +0000)
crypto/cms/cms_smime.c

index 167daf591537bbf1e7e42ddebe944950cada0b3e..cf62c68112ee47701bd95300d7ccc839e17ab031 100644 (file)
@@ -298,7 +298,7 @@ static int cms_signerinfo_verify_cert(CMS_SignerInfo *si,
                                                CMS_R_STORE_INIT_ERROR);
                goto err;
                }
-       X509_STORE_CTX_set_default(&cert_ctx, "smime_sign");
+       X509_STORE_CTX_set_default(&ctx, "smime_sign");
        if (crls)
                X509_STORE_CTX_set0_crls(&ctx, crls);