Add a couple of spaces to check_test.
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 <davidben@google.com>
This commit is contained in:
committed by
Adam Langley
parent
15565a8984
commit
b0ed28e257
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user