BIO_set_prefix: fix return check
@@ -242,7 +242,7 @@ static int setup(void)
progname, idx, amount - 1);
return 0;
}
- if (!BIO_set_prefix(chain[idx], colon)) {
+ if (BIO_set_prefix(chain[idx], colon) <= 0) {
BIO_printf(bio_err, "%s: failed setting prefix: %s",
progname, arg);
return 0;
