X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=test%2Ftestutil%2Fformat_output.c;h=4707ff71b59d8bf54790189b06f58e780aa54567;hp=9b04a94f4205e696be4febf759ff873594f8238a;hb=3cb413da197c26c4520cbf08e5d4542637a90a4e;hpb=00dfbaad88a69ed8294d6039bf5f7d722f72bf39 diff --git a/test/testutil/format_output.c b/test/testutil/format_output.c index 9b04a94f42..4707ff71b5 100644 --- a/test/testutil/format_output.c +++ b/test/testutil/format_output.c @@ -13,7 +13,7 @@ #include #include -#include +#include "internal/nelem.h" /* The size of memory buffers to display on failure */ #define MEM_BUFFER_SIZE (2000) @@ -299,7 +299,7 @@ static void test_fail_bignum_common(const char *prefix, const char *file, if (len > MEM_BUFFER_SIZE && (bufp = OPENSSL_malloc(len * 2)) == NULL) { bufp = buffer; len = MEM_BUFFER_SIZE; - test_printf_stderr("WARNING: these BIGNUMs have been truncated"); + test_printf_stderr("WARNING: these BIGNUMs have been truncated\n"); } if (bn1 != NULL) { @@ -382,7 +382,7 @@ void test_fail_bignum_mono_message(const char *prefix, const char *file, void test_output_bignum(const char *name, const BIGNUM *bn) { if (bn == NULL || BN_is_zero(bn)) { - test_printf_stderr("bignum: '%s' = %s", name, + test_printf_stderr("bignum: '%s' = %s\n", name, test_bignum_zero_null(bn)); } else if (BN_num_bytes(bn) <= BN_OUTPUT_SIZE) { unsigned char buf[BN_OUTPUT_SIZE];