From: Tianjia Zhang Date: Mon, 23 Aug 2021 09:40:22 +0000 (+0800) Subject: apps/ciphers: Fix wrong return value when using -convert parameter X-Git-Tag: openssl-3.0.0~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b4e9c5265ffd3457ad37133502a9d8a4e8daccd;p=thirdparty%2Fopenssl.git apps/ciphers: Fix wrong return value when using -convert parameter Command 'openssl ciphers -convert ' always returns failure, this patch set the correct return value. Signed-off-by: Tianjia Zhang Reviewed-by: Paul Yang Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/16383) --- diff --git a/apps/ciphers.c b/apps/ciphers.c index 6e4fedd9a76..9c494224a11 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; }