From d8652be06e2778e8898453a391deb7253e1a35a2 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 24 Sep 2020 10:42:23 +0100 Subject: Run the withlibctx.pl script Automatically rename all instances of _with_libctx() to _ex() as per our coding style. Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/12970) --- apps/req.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/req.c') diff --git a/apps/req.c b/apps/req.c index 62abf226ac..a3abc0b7b7 100644 --- a/apps/req.c +++ b/apps/req.c @@ -741,8 +741,7 @@ int req_main(int argc, char **argv) if (x509) { EVP_PKEY *tmppkey; X509V3_CTX ext_ctx; - if ((x509ss = X509_new_with_libctx(app_get0_libctx(), - app_get0_propq())) == NULL) + if ((x509ss = X509_new_ex(app_get0_libctx(), app_get0_propq())) == NULL) goto end; /* Set version to V3 */ -- cgit v1.2.3