diff options
author | Matt Caswell <matt@openssl.org> | 2022-01-26 12:35:30 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2022-01-27 16:28:13 +0000 |
commit | 4ed381736b063284bdbd5d302988617aa4366a3f (patch) | |
tree | fa72402b4c289aaccebeae57c9c5975dde831429 | |
parent | 7b75b973fbd9087714daa19e07bb92b2101eba28 (diff) | |
download | openssl-4ed381736b063284bdbd5d302988617aa4366a3f.tar.gz |
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)
-rw-r--r-- | apps/ciphers.c | 2 |
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) |