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 /apps/ca.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 'apps/ca.c')
-rwxr-xr-x | apps/ca.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1178,7 +1178,7 @@ end_of_options: if (verbose) BIO_printf(bio_err, "making CRL\n"); - if ((crl = X509_CRL_new()) == NULL) + if ((crl = X509_CRL_new_ex(app_get0_libctx(), app_get0_propq())) == NULL) goto end; if (!X509_CRL_set_issuer_name(crl, X509_get_subject_name(x509))) goto end; |