diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2021-03-31 15:10:22 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2021-04-08 11:30:44 +1000 |
commit | e6c2f96489fc0c006845c8597f8ceed2f01f76ee (patch) | |
tree | 87b519bbf7cf1a1966d44fbd70121e1ba77d550d /crypto/asn1/a_sign.c | |
parent | 09fba0b44032c2f66d5e7e8c732869e031ce74c8 (diff) |
Fix more certificate related lib_ctx settings.
Fixes #13732
Fix a few places that were not using the '_ex' variants of
ASN1_item_sign/verify.
Added X509_CRL_new_ex().
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14752)
Diffstat (limited to 'crypto/asn1/a_sign.c')
-rw-r--r-- | crypto/asn1/a_sign.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/asn1/a_sign.c b/crypto/asn1/a_sign.c index 911d61453a..fe55373b34 100644 --- a/crypto/asn1/a_sign.c +++ b/crypto/asn1/a_sign.c @@ -136,6 +136,7 @@ int ASN1_item_sign_ex(const ASN1_ITEM *it, X509_ALGOR *algor1, ERR_raise(ERR_LIB_ASN1, ERR_R_MALLOC_FAILURE); return 0; } + /* We can use the non _ex variant here since the pkey is already setup */ if (!EVP_DigestSignInit(ctx, NULL, md, NULL, pkey)) goto err; |