The branch master has been updated
via 8b4e9c5265ffd3457ad37133502a9d8a4e8daccd (commit)
from 32f7be2ab72ee22e98a2254709cb6128492b207a (commit)
- Log -----------------------------------------------------------------
commit 8b4e9c5265ffd3457ad37133502a9d8a4e8daccd
Author: Tianjia Zhang <[email protected]>
Date: Mon Aug 23 17:40:22 2021 +0800
apps/ciphers: Fix wrong return value when using -convert parameter
Command 'openssl ciphers -convert <name>' always returns failure,
this patch set the correct return value.
Signed-off-by: Tianjia Zhang <[email protected]>
Reviewed-by: Paul Yang <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/16383)
-----------------------------------------------------------------------
Summary of changes:
apps/ciphers.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/apps/ciphers.c b/apps/ciphers.c
index 6e4fedd9a7..9c494224a1 100644
--- a/apps/ciphers.c
+++ b/apps/ciphers.c
@@ -183,6 +183,7 @@ int ciphers_main(int argc, char **argv)
if (convert != NULL) {
BIO_printf(bio_out, "OpenSSL cipher name: %s\n",
OPENSSL_cipher_name(convert));
+ ret = 0;
goto end;
}