From b0ed28e2573391cac2ca8d15bc38df26086c9230 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Fri, 4 Feb 2022 14:12:31 -0800 Subject: [PATCH] Add a couple of spaces to `check_test`. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The word “calculated” is two letters longer than “expected” and it's nice to line up the ouptuts. Change-Id: Idac70e62d98fbe26c430f03f4643ba295e40853d Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/51327 Reviewed-by: David Benjamin --- crypto/fipsmodule/self_check/self_check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/fipsmodule/self_check/self_check.c b/crypto/fipsmodule/self_check/self_check.c index da018f1f6..e91f2f62c 100644 --- a/crypto/fipsmodule/self_check/self_check.c +++ b/crypto/fipsmodule/self_check/self_check.c @@ -55,7 +55,7 @@ static void hexdump(const uint8_t *in, size_t len) { static int check_test(const void *expected, const void *actual, size_t expected_len, const char *name) { if (OPENSSL_memcmp(actual, expected, expected_len) != 0) { - fprintf(stderr, "%s failed.\nExpected: ", name); + fprintf(stderr, "%s failed.\nExpected: ", name); hexdump(expected, expected_len); fprintf(stderr, "\nCalculated: "); hexdump(actual, expected_len);