BIO_set_indent: fix return check
@@ -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;
