Skip tests using KTLS RX for TLS 1.3.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 29 Jul 2020 22:08:54 +0000 (15:08 -0700)
committerMatt Caswell <matt@openssl.org>
Mon, 31 Aug 2020 08:34:19 +0000 (09:34 +0100)
KTLS RX is not yet supported for TLS 1.3.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12111)

test/sslapitest.c

index 4ad8c450c199de993cc4e59a7bc49cf391ebfc84..47a2d8028ebe74ba1c2f2e7d6ee8a835dbbf0a4a 100644 (file)
@@ -1207,6 +1207,10 @@ static int test_ktls(int test)
     if (cis_ktls_rx || sis_ktls_rx)
         return 1;
 #endif
+#if !defined(OPENSSL_NO_TLS1_3)
+    if (tlsver == TLS1_3_VERSION && (cis_ktls_rx || sis_ktls_rx))
+        return 1;
+#endif
 
     testresult = 1;
 #ifdef OPENSSL_KTLS_AES_GCM_128