From: Petr Gotthard Date: Sun, 2 May 2021 21:26:23 +0000 (+0200) Subject: apps: Switch to X509_REQ_verify_ex X-Git-Tag: openssl-3.0.0-alpha16~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0baa98b5c1f805a30539e43ef62e2a43979773f;p=thirdparty%2Fopenssl.git apps: Switch to X509_REQ_verify_ex Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/15118) --- diff --git a/apps/lib/apps.c b/apps/lib/apps.c index bfea59bdc86..b87f271ee80 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; }