summaryrefslogtreecommitdiffstats
path: root/test/tls13encryptiontest.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/tls13encryptiontest.c
parentVMS: Make sure to include MAIN from static libraries if needed (diff)
downloadopenssl-a9c6d221055c3a85edb23b1364cd60baafed4b9f.tar.xz
openssl-a9c6d221055c3a85edb23b1364cd60baafed4b9f.zip
Adapt all test programs
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3243)
Diffstat (limited to 'test/tls13encryptiontest.c')
-rw-r--r--test/tls13encryptiontest.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/tls13encryptiontest.c b/test/tls13encryptiontest.c
index c60d3b66fe..861a8154cd 100644
--- a/test/tls13encryptiontest.c
+++ b/test/tls13encryptiontest.c
@@ -23,7 +23,6 @@
#endif
#include "testutil.h"
-#include "test_main.h"
/*
* Based on the test vectors provided in:
@@ -358,21 +357,21 @@ static int test_tls13_encryption(void)
/* Encrypt it */
if (!TEST_size_t_eq(tls13_enc(s, &rec, 1, 1), 1)) {
- TEST_info("Failed to encrypt record %"OSSLzu"", ctr);
+ TEST_info("Failed to encrypt record %zu", ctr);
goto err;
}
if (!TEST_true(test_record(&rec, &refdata[ctr], 1))) {
- TEST_info("Record %"OSSLzu" encryption test failed", ctr);
+ TEST_info("Record %zu encryption test failed", ctr);
goto err;
}
/* Decrypt it */
if (!TEST_int_eq(tls13_enc(s, &rec, 1, 0), 1)) {
- TEST_info("Failed to decrypt record %"OSSLzu"", ctr);
+ TEST_info("Failed to decrypt record %zu", ctr);
goto err;
}
if (!TEST_true(test_record(&rec, &refdata[ctr], 0))) {
- TEST_info("Record %"OSSLzu" decryption test failed", ctr);
+ TEST_info("Record %zu decryption test failed", ctr);
goto err;
}