diff options
author | Tianjia Zhang <tianjia.zhang@linux.alibaba.com> | 2021-08-23 17:40:22 +0800 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-08-26 09:59:10 +1000 |
commit | 7a1a91556cc271d38944410b133a2ab5e2cf8ca8 (patch) | |
tree | b8592a239636baa69a2be2e604aa75eda5353b1a | |
parent | 18622c7625436d7f99c0f51895c4d3cea233c62e (diff) |
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 <tianjia.zhang@linux.alibaba.com>
Reviewed-by: Paul Yang <kaishen.yy@antfin.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16383)
(cherry picked from commit 8b4e9c5265ffd3457ad37133502a9d8a4e8daccd)
-rw-r--r-- | apps/ciphers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/ciphers.c b/apps/ciphers.c index 0bb33a4aca..e403130eeb 100644 --- a/apps/ciphers.c +++ b/apps/ciphers.c @@ -172,6 +172,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; } |