]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - test/tls13encryptiontest.c
Move MAC removal responsibility to the various protocol "enc" functions
[thirdparty/openssl.git] / test / tls13encryptiontest.c
index a49fbc001324899bcc99e2e76f4f27eea52be1c2..3bb189f0b59af32c823e912927d6e22b2aa79dea 100644 (file)
@@ -368,7 +368,7 @@ static int test_tls13_encryption(void)
         }
 
         /* Encrypt it */
-        if (!TEST_size_t_eq(tls13_enc(s, &rec, 1, 1), 1)) {
+        if (!TEST_size_t_eq(tls13_enc(s, &rec, 1, 1, NULL, 0), 1)) {
             TEST_info("Failed to encrypt record %zu", ctr);
             goto err;
         }
@@ -378,7 +378,7 @@ static int test_tls13_encryption(void)
         }
 
         /* Decrypt it */
-        if (!TEST_int_eq(tls13_enc(s, &rec, 1, 0), 1)) {
+        if (!TEST_int_eq(tls13_enc(s, &rec, 1, 0, NULL, 0), 1)) {
             TEST_info("Failed to decrypt record %zu", ctr);
             goto err;
         }