#include <openssl/ssl.h>
#include <openssl/evp.h>
+
+#ifdef __VMS
+# pragma names save
+# pragma names as_is,shortened
+#endif
+
#include "../ssl/ssl_locl.h"
#include "../ssl/record/record_locl.h"
+#ifdef __VMS
+# pragma names restore
+#endif
+
#include "testutil.h"
-#include "test_main.h"
/*
* Based on the test vectors provided in:
/* 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;
}