summaryrefslogtreecommitdiffstats
path: root/test/sslapitest.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2020-07-30 00:08:54 +0200
committerMatt Caswell <matt@openssl.org>2020-08-31 10:34:19 +0200
commit18efb630169a5c2c58a77b0b67fc707a87cb8b93 (patch)
tree1b88e5f9e3beafb34346f81fe5c250211a9424c3 /test/sslapitest.c
parentSkip tests using KTLS RX if KTLS RX is not supported. (diff)
downloadopenssl-18efb630169a5c2c58a77b0b67fc707a87cb8b93.tar.xz
openssl-18efb630169a5c2c58a77b0b67fc707a87cb8b93.zip
Skip tests using KTLS RX for TLS 1.3.
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)
Diffstat (limited to 'test/sslapitest.c')
-rw-r--r--test/sslapitest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/sslapitest.c b/test/sslapitest.c
index 4ad8c450c1..47a2d8028e 100644
--- a/test/sslapitest.c
+++ b/test/sslapitest.c
@@ -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