[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Wed Jan 31 22:49:52 UTC 2018


The branch master has been updated
       via  3cb413da197c26c4520cbf08e5d4542637a90a4e (commit)
      from  0ac9e9ff5de278fed705a2bf090ed92b5911656b (commit)


- Log -----------------------------------------------------------------
commit 3cb413da197c26c4520cbf08e5d4542637a90a4e
Author: Richard Levitte <levitte at openssl.org>
Date:   Wed Jan 31 21:49:27 2018 +0100

    Add missing \n in some testutil output
    
    Reviewed-by: Andy Polyakov <appro at openssl.org>
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/5229)

-----------------------------------------------------------------------

Summary of changes:
 test/testutil/format_output.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/testutil/format_output.c b/test/testutil/format_output.c
index 9b9bab1..4707ff7 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];


More information about the openssl-commits mailing list