From 4ed381736b063284bdbd5d302988617aa4366a3f Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 26 Jan 2022 12:35:30 +0000 Subject: Ensure ciphers command honours -propquery Any propquery passed via the -propquery option to the ciphers command was being ignored. Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/17595) --- apps/ciphers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') 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) -- cgit v1.2.3