diff stream_ssl_alpn.t @ 1744:38bd7e75fe69

Tests: skip ALPN rejection tests with OpenSSL < 1.1.0.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 25 Oct 2021 15:26:34 +0300
parents 2318ed01ce53
children cdcd75657e52
line wrap: on
line diff
--- a/stream_ssl_alpn.t
+++ b/stream_ssl_alpn.t
@@ -90,6 +90,8 @@ is(get_ssl(), 'X  X', 'no alpn');
 SKIP: {
 $t->{_configure_args} =~ /LibreSSL ([\d\.]+)/;
 skip 'LibreSSL too old', 2 if defined $1 and $1 lt '3.4.0';
+$t->{_configure_args} =~ /OpenSSL ([\d\.]+)/;
+skip 'OpenSSL too old', 2 if defined $1 and $1 lt '1.1.0';
 
 ok(!get_ssl('wrong'), 'alpn mismatch');