diff options
author | Matt Caswell <matt@openssl.org> | 2020-09-24 10:42:23 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-10-01 09:25:20 +0100 |
commit | d8652be06e2778e8898453a391deb7253e1a35a2 (patch) | |
tree | fe40e22edb39642aa7ae633320c1900388f2e7ee /apps/req.c | |
parent | aedac96c1172ca9a9efe72e027e935504b599e2f (diff) |
Run the withlibctx.pl script
Automatically rename all instances of _with_libctx() to _ex() as per
our coding style.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12970)
Diffstat (limited to 'apps/req.c')
-rw-r--r-- | apps/req.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 */ |