@@ -9732,20 +9732,17 @@ run_test "DTLS fragmenting: 3d, gnutls client, DTLS 1.2" \
9732
9732
0 \
9733
9733
-s "fragmenting handshake message"
9734
9734
9735
- ## Interop test with OpenSSL might trigger a bug in recent versions (including
9736
- ## all versions installed on the CI machines), reported here:
9737
- ## Bug report: https://github.com/openssl/openssl/issues/6902
9738
- ## They should be re-enabled once a fixed version of OpenSSL is available
9739
- ## (this should happen in some 1.1.1_ release according to the ticket).
9740
- skip_next_test
9735
+ ## The test below requires 1.1.1a or higher version of openssl, otherwise
9736
+ ## it might trigger a bug due to openssl server (https://github.com/openssl/openssl/issues/6902)
9737
+ requires_openssl_next
9741
9738
requires_config_enabled MBEDTLS_SSL_PROTO_DTLS
9742
9739
requires_config_enabled MBEDTLS_RSA_C
9743
9740
requires_config_enabled MBEDTLS_ECDSA_C
9744
9741
client_needs_more_time 4
9745
9742
requires_max_content_len 2048
9746
9743
run_test "DTLS fragmenting: 3d, openssl server, DTLS 1.2" \
9747
9744
-p "$P_PXY drop=8 delay=8 duplicate=8" \
9748
- "$O_SRV -dtls1_2 -verify 10" \
9745
+ "$O_NEXT_SRV -dtls1_2 -verify 10" \
9749
9746
"$P_CLI dtls=1 debug_level=2 \
9750
9747
crt_file=data_files/server8_int-ca2.crt \
9751
9748
key_file=data_files/server8.key \
@@ -9754,6 +9751,8 @@ run_test "DTLS fragmenting: 3d, openssl server, DTLS 1.2" \
9754
9751
-c "fragmenting handshake message" \
9755
9752
-C "error"
9756
9753
9754
+ ## the test below will time out with certain seed.
9755
+ ## The cause is an openssl bug (https://github.com/openssl/openssl/issues/18887)
9757
9756
skip_next_test
9758
9757
requires_config_enabled MBEDTLS_SSL_PROTO_DTLS
9759
9758
requires_config_enabled MBEDTLS_RSA_C
@@ -10831,40 +10830,38 @@ run_test "DTLS proxy: 3d, min handshake, server-initiated renego, nbio" \
10831
10830
-s "Extra-header:" \
10832
10831
-c "HTTP/1.0 200 OK"
10833
10832
10834
- ## Interop tests with OpenSSL might trigger a bug in recent versions (including
10835
- ## all versions installed on the CI machines), reported here:
10836
- ## Bug report: https://github.com/openssl/openssl/issues/6902
10837
- ## They should be re-enabled once a fixed version of OpenSSL is available
10838
- ## (this should happen in some 1.1.1_ release according to the ticket).
10839
- skip_next_test
10833
+ ## The three tests below require 1.1.1a or higher version of openssl, otherwise
10834
+ ## it might trigger a bug due to openssl (https://github.com/openssl/openssl/issues/6902)
10835
+ ## Besides, openssl should use dtls1_2 or dtls, otherwise it will cause "SSL alert number 70" error
10836
+ requires_openssl_next
10840
10837
client_needs_more_time 6
10841
10838
not_with_valgrind # risk of non-mbedtls peer timing out
10842
10839
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
10843
10840
run_test "DTLS proxy: 3d, openssl server" \
10844
10841
-p "$P_PXY drop=5 delay=5 duplicate=5 protect_hvr=1" \
10845
- "$O_SRV -dtls1 -mtu 2048" \
10842
+ "$O_NEXT_SRV -dtls1_2 -mtu 2048" \
10846
10843
"$P_CLI dgram_packing=0 dtls=1 hs_timeout=500-60000 tickets=0" \
10847
10844
0 \
10848
10845
-c "HTTP/1.0 200 OK"
10849
10846
10850
- skip_next_test # see above
10847
+ requires_openssl_next
10851
10848
client_needs_more_time 8
10852
10849
not_with_valgrind # risk of non-mbedtls peer timing out
10853
10850
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
10854
10851
run_test "DTLS proxy: 3d, openssl server, fragmentation" \
10855
10852
-p "$P_PXY drop=5 delay=5 duplicate=5 protect_hvr=1" \
10856
- "$O_SRV -dtls1 -mtu 768" \
10853
+ "$O_NEXT_SRV -dtls1_2 -mtu 768" \
10857
10854
"$P_CLI dgram_packing=0 dtls=1 hs_timeout=500-60000 tickets=0" \
10858
10855
0 \
10859
10856
-c "HTTP/1.0 200 OK"
10860
10857
10861
- skip_next_test # see above
10858
+ requires_openssl_next
10862
10859
client_needs_more_time 8
10863
10860
not_with_valgrind # risk of non-mbedtls peer timing out
10864
10861
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
10865
10862
run_test "DTLS proxy: 3d, openssl server, fragmentation, nbio" \
10866
10863
-p "$P_PXY drop=5 delay=5 duplicate=5 protect_hvr=1" \
10867
- "$O_SRV -dtls1 -mtu 768" \
10864
+ "$O_NEXT_SRV -dtls1_2 -mtu 768" \
10868
10865
"$P_CLI dgram_packing=0 dtls=1 hs_timeout=500-60000 nbio=2 tickets=0" \
10869
10866
0 \
10870
10867
-c "HTTP/1.0 200 OK"
0 commit comments