diff options
author | Petr Gotthard <petr.gotthard@centrum.cz> | 2021-05-02 23:26:23 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-05-04 12:58:15 +0200 |
commit | a0baa98b5c1f805a30539e43ef62e2a43979773f (patch) | |
tree | b402fee1475063d7d4d2ced8e7575740f1c79dbb /apps | |
parent | test: fix failure with FIPS and no-des configured. (diff) | |
download | openssl-a0baa98b5c1f805a30539e43ef62e2a43979773f.tar.xz openssl-a0baa98b5c1f805a30539e43ef62e2a43979773f.zip |
apps: Switch to X509_REQ_verify_ex
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15118)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/lib/apps.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/lib/apps.c b/apps/lib/apps.c index bfea59bdc8..b87f271ee8 100644 --- a/apps/lib/apps.c +++ b/apps/lib/apps.c @@ -2282,7 +2282,8 @@ int do_X509_REQ_verify(X509_REQ *x, EVP_PKEY *pkey, int rv = 0; if (do_x509_req_init(x, vfyopts) > 0) - rv = (X509_REQ_verify(x, pkey) > 0); + rv = (X509_REQ_verify_ex(x, pkey, + app_get0_libctx(), app_get0_propq()) > 0); return rv; } |