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

index faa9c1d1d79db77fe9bdd11e82f933a06a4c5b5c..12fc844d934e7657a29c9c2ef5f884917a05098d 100644 (file)
@@ -292,7 +292,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);