Loading test/testutil/tap_bio.c +2 −1 Original line number Diff line number Diff line Loading @@ -93,13 +93,14 @@ static int write_string(BIO *b, const char *buf, size_t n) */ static int tap_write_ex(BIO *b, const char *buf, size_t size, size_t *in_size) { static char empty[] = ""; BIO *next = BIO_next(b); size_t i; int j; for (i = 0; i < size; i++) { if (BIO_get_data(b) == NULL) { BIO_set_data(b, ""); BIO_set_data(b, empty); for (j = 0; j < subtest_level(); j++) if (!write_string(next, " ", 1)) goto err; Loading Loading
test/testutil/tap_bio.c +2 −1 Original line number Diff line number Diff line Loading @@ -93,13 +93,14 @@ static int write_string(BIO *b, const char *buf, size_t n) */ static int tap_write_ex(BIO *b, const char *buf, size_t size, size_t *in_size) { static char empty[] = ""; BIO *next = BIO_next(b); size_t i; int j; for (i = 0; i < size; i++) { if (BIO_get_data(b) == NULL) { BIO_set_data(b, ""); BIO_set_data(b, empty); for (j = 0; j < subtest_level(); j++) if (!write_string(next, " ", 1)) goto err; Loading