Mercurial > hg > nginx-tests
comparison 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 |
comparison
equal
deleted
inserted
replaced
1743:2318ed01ce53 | 1744:38bd7e75fe69 |
---|---|
88 is(get_ssl(), 'X X', 'no alpn'); | 88 is(get_ssl(), 'X X', 'no alpn'); |
89 | 89 |
90 SKIP: { | 90 SKIP: { |
91 $t->{_configure_args} =~ /LibreSSL ([\d\.]+)/; | 91 $t->{_configure_args} =~ /LibreSSL ([\d\.]+)/; |
92 skip 'LibreSSL too old', 2 if defined $1 and $1 lt '3.4.0'; | 92 skip 'LibreSSL too old', 2 if defined $1 and $1 lt '3.4.0'; |
93 $t->{_configure_args} =~ /OpenSSL ([\d\.]+)/; | |
94 skip 'OpenSSL too old', 2 if defined $1 and $1 lt '1.1.0'; | |
93 | 95 |
94 ok(!get_ssl('wrong'), 'alpn mismatch'); | 96 ok(!get_ssl('wrong'), 'alpn mismatch'); |
95 | 97 |
96 $t->stop(); | 98 $t->stop(); |
97 | 99 |