[openssl] master update

tomas at openssl.org tomas at openssl.org
Tue May 4 10:58:28 UTC 2021


The branch master has been updated
       via  a0baa98b5c1f805a30539e43ef62e2a43979773f (commit)
      from  67cd43084cacb976ef79bbc23ccab048b06e5c1c (commit)


- Log -----------------------------------------------------------------
commit a0baa98b5c1f805a30539e43ef62e2a43979773f
Author: Petr Gotthard <petr.gotthard at centrum.cz>
Date:   Sun May 2 23:26:23 2021 +0200

    apps: Switch to X509_REQ_verify_ex
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
    Reviewed-by: Tomas Mraz <tomas at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/15118)

-----------------------------------------------------------------------

Summary of changes:
 apps/lib/apps.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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


More information about the openssl-commits mailing list