Mercurial > hg > nginx-tests
comparison h2_ssl.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 | 78fe648d54a7 |
comparison
equal
deleted
inserted
replaced
1743:2318ed01ce53 | 1744:38bd7e75fe69 |
---|---|
94 ############################################################################### | 94 ############################################################################### |
95 | 95 |
96 SKIP: { | 96 SKIP: { |
97 $t->{_configure_args} =~ /LibreSSL ([\d\.]+)/; | 97 $t->{_configure_args} =~ /LibreSSL ([\d\.]+)/; |
98 skip 'LibreSSL too old', 1 if defined $1 and $1 lt '3.4.0'; | 98 skip 'LibreSSL too old', 1 if defined $1 and $1 lt '3.4.0'; |
99 $t->{_configure_args} =~ /OpenSSL ([\d\.]+)/; | |
100 skip 'OpenSSL too old', 1 if defined $1 and $1 lt '1.1.0'; | |
99 | 101 |
100 TODO: { | 102 TODO: { |
101 local $TODO = 'not yet' unless $t->has_version('1.21.4'); | 103 local $TODO = 'not yet' unless $t->has_version('1.21.4'); |
102 | 104 |
103 ok(!get_ssl_socket(['unknown']), 'alpn rejected'); | 105 ok(!get_ssl_socket(['unknown']), 'alpn rejected'); |