Browse Source

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)
master^2
Tianjia Zhang 2 months ago
committed by Tomas Mraz
parent
commit
8b4e9c5265
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      apps/ciphers.c

+ 1
- 0
apps/ciphers.c View File

@ -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;
}


Loading…
Cancel
Save