summaryrefslogtreecommitdiffstats
path: root/test/siphash_internal_test.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-04-18 16:47:11 +0200
committerRichard Levitte <levitte@openssl.org>2017-04-24 18:09:01 +0200
commita9c6d221055c3a85edb23b1364cd60baafed4b9f (patch)
tree92a20b6afa93ea50ce3567d05b39da42365bc3c5 /test/siphash_internal_test.c
parentb3e5db40eca1b53fc37a95163feba0da82426142 (diff)
Adapt all test programs
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3243)
Diffstat (limited to 'test/siphash_internal_test.c')
-rw-r--r--test/siphash_internal_test.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/siphash_internal_test.c b/test/siphash_internal_test.c
index fd097e0d59..0114af18d0 100644
--- a/test/siphash_internal_test.c
+++ b/test/siphash_internal_test.c
@@ -14,7 +14,6 @@
#include <openssl/bio.h>
#include "testutil.h"
-#include "test_main_custom.h"
#include "internal/siphash.h"
#include "../crypto/siphash/siphash_local.h"
#include "e_os.h"
@@ -226,7 +225,7 @@ static int test_siphash(int idx)
if (expectedlen != SIPHASH_MIN_DIGEST_SIZE &&
expectedlen != SIPHASH_MAX_DIGEST_SIZE) {
- TEST_info("size %" OSSLzu " vs %d and %d", expectedlen,
+ TEST_info("size %zu vs %d and %d", expectedlen,
SIPHASH_MIN_DIGEST_SIZE, SIPHASH_MAX_DIGEST_SIZE);
return 0;
}
@@ -286,7 +285,7 @@ static int test_siphash(int idx)
return 0;
if (!TEST_mem_eq(out, expectedlen, expected, expectedlen)) {
- TEST_info("SipHash test #%d/%" OSSLzu "+%" OSSLzu " failed.",
+ TEST_info("SipHash test #%d/%zu+%zu failed.",
idx, half, inlen-half);
return 0;
}