netty5/handler/src
Norman Maurer 73acac13f4
Check if hostname validation is supported before trying to use in test. (#8333)
Motivation:

a208f6dc7c added a testcase which uses hostname validation which may not be supported by OpenSSL depending on the version that is used. We should check first before we try to use it.

Modifications:

Add assumeTrue(...) check to ensure hostname validation is supported before trying to run the test.

Result:

No more test-failures on OpenSSL versions < 1.0.2.
2018-09-28 10:54:05 +02:00
..
main/java/io/netty/handler Do the same extended checks as the JDK when a X509TrustManager is used with the OpenSSL provider. (#8307) 2018-09-28 09:19:58 +02:00
test Check if hostname validation is supported before trying to use in test. (#8333) 2018-09-28 10:54:05 +02:00