diff options
author | Richard Levitte <levitte@openssl.org> | 2018-01-31 21:49:27 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-01-31 23:49:21 +0100 |
commit | 3cb413da197c26c4520cbf08e5d4542637a90a4e (patch) | |
tree | ceab75c8a5a0cd09c6b7224557ce61fee3ba8c18 /test/testutil | |
parent | Make test/uitest depend on the private apps support library (diff) | |
download | openssl-3cb413da197c26c4520cbf08e5d4542637a90a4e.tar.xz openssl-3cb413da197c26c4520cbf08e5d4542637a90a4e.zip |
Add missing \n in some testutil output
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5229)
Diffstat (limited to 'test/testutil')
-rw-r--r-- | test/testutil/format_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testutil/format_output.c b/test/testutil/format_output.c index 9b9bab118c..4707ff71b5 100644 --- a/test/testutil/format_output.c +++ b/test/testutil/format_output.c @@ -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]; |