2
0
mirror of https://github.com/openssl/openssl.git synced 2025-04-24 20:51:14 +08:00

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)
This commit is contained in:
Petr Gotthard 2021-05-02 23:26:23 +02:00 committed by Tomas Mraz
parent 67cd43084c
commit a0baa98b5c

@ -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;
}