mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
BIO_set_indent: fix return check
Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17028)
This commit is contained in:
parent
ac6568ecc6
commit
a9ed63f1d1
@ -211,7 +211,7 @@ static int setup(void)
|
||||
progname, idx, amount - 1);
|
||||
return 0;
|
||||
}
|
||||
if (!BIO_set_indent(chain[idx], (long)indent)) {
|
||||
if (BIO_set_indent(chain[idx], (long)indent) <= 0) {
|
||||
BIO_printf(bio_err, "%s: failed setting indentation: %s",
|
||||
progname, arg);
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user