diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-03-15 13:37:34 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-03-15 13:37:34 +0000 |
commit | 237d7b6caee75d64cf8cbbd424afa7627e05be26 (patch) | |
tree | 522516624254a4a38f513e61d43177868661964b /crypto/cms/cms_smime.c | |
parent | 854a225a2737e6252772821b86c1200c92f60e53 (diff) |
Fix from stable branch.
Diffstat (limited to 'crypto/cms/cms_smime.c')
-rw-r--r-- | crypto/cms/cms_smime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/cms/cms_smime.c b/crypto/cms/cms_smime.c index f754b3ce4f..faa9c1d1d7 100644 --- a/crypto/cms/cms_smime.c +++ b/crypto/cms/cms_smime.c @@ -292,7 +292,7 @@ static int cms_signerinfo_verify_cert(CMS_SignerInfo *si, CMS_R_STORE_INIT_ERROR); goto err; } - X509_STORE_CTX_set_purpose(&ctx, X509_PURPOSE_SMIME_SIGN); + X509_STORE_CTX_set_default(&cert_ctx, "smime_sign"); if (crls) X509_STORE_CTX_set0_crls(&ctx, crls); |