summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2022-01-26 12:35:30 +0000
committerMatt Caswell <matt@openssl.org>2022-01-27 16:28:13 +0000
commit4ed381736b063284bdbd5d302988617aa4366a3f (patch)
treefa72402b4c289aaccebeae57c9c5975dde831429 /apps
parent7b75b973fbd9087714daa19e07bb92b2101eba28 (diff)
Ensure ciphers command honours -propquery
Any propquery passed via the -propquery option to the ciphers command was being ignored. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17595)
Diffstat (limited to 'apps')
-rw-r--r--apps/ciphers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ciphers.c b/apps/ciphers.c
index dcf0d3fa1e..d3453e915b 100644
--- a/apps/ciphers.c
+++ b/apps/ciphers.c
@@ -186,7 +186,7 @@ int ciphers_main(int argc, char **argv)
goto end;
}
- ctx = SSL_CTX_new(meth);
+ ctx = SSL_CTX_new_ex(app_get0_libctx(), app_get0_propq(), meth);
if (ctx == NULL)
goto err;
if (SSL_CTX_set_min_proto_version(ctx, min_version) == 0)