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 faa9c1d..12fc844 100644 (file)
@@ -292,7 +292,7 @@ static int cms_signerinfo_verify_cert(CMS_SignerInfo *si,
                                                CMS_R_STORE_INIT_ERROR);
                goto err;
                }
                                                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);
 
        if (crls)
                X509_STORE_CTX_set0_crls(&ctx, crls);