[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

Richard Levitte levitte at openssl.org
Thu Feb 23 00:52:25 UTC 2017


The branch OpenSSL_1_1_0-stable has been updated
       via  ce180867a4ae781cd84fdcf01ba6e2320de651ef (commit)
      from  c1d0d2e690d2a33216de6c5920c81d9852080d36 (commit)


- Log -----------------------------------------------------------------
commit ce180867a4ae781cd84fdcf01ba6e2320de651ef
Author: Richard Levitte <levitte at openssl.org>
Date:   Thu Feb 23 00:11:18 2017 +0100

    Let the output from 'openssl enc -ciphers' go to stdout
    
    Also, don't exit with an error code
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/2716)
    (cherry picked from commit 341de5f1997d21b60cee69be656f1ae709bccdac)

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

Summary of changes:
 apps/enc.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/apps/enc.c b/apps/enc.c
index c66ad93..ec5fc94 100644
--- a/apps/enc.c
+++ b/apps/enc.c
@@ -134,10 +134,11 @@ int enc_main(int argc, char **argv)
             ret = 0;
             goto end;
         case OPT_LIST:
-            BIO_printf(bio_err, "Supported ciphers:\n");
+            BIO_printf(bio_out, "Supported ciphers:\n");
             OBJ_NAME_do_all_sorted(OBJ_NAME_TYPE_CIPHER_METH,
-                                   show_ciphers, bio_err);
-            BIO_printf(bio_err, "\n");
+                                   show_ciphers, bio_out);
+            BIO_printf(bio_out, "\n");
+            ret = 0;
             goto end;
         case OPT_E:
             enc = 1;


More information about the openssl-commits mailing list