The branch master has been updated
       via  4ed381736b063284bdbd5d302988617aa4366a3f (commit)
      from  7b75b973fbd9087714daa19e07bb92b2101eba28 (commit)


- Log -----------------------------------------------------------------
commit 4ed381736b063284bdbd5d302988617aa4366a3f
Author: Matt Caswell <m...@openssl.org>
Date:   Wed Jan 26 12:35:30 2022 +0000

    Ensure ciphers command honours -propquery
    
    Any propquery passed via the -propquery option to the ciphers command was
    being ignored.
    
    Reviewed-by: Tomas Mraz <to...@openssl.org>
    Reviewed-by: Paul Dale <pa...@openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/17595)

-----------------------------------------------------------------------

Summary of changes:
 apps/ciphers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)

Reply via email to