Mercurial > hg > nginx-tests
comparison mail_ssl.t @ 1743:2318ed01ce53
Tests: skip ALPN rejection tests with too old LibreSSL.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 21 Oct 2021 20:18:01 +0300 |
parents | 7bfa47410cc0 |
children | 38bd7e75fe69 |
comparison
equal
deleted
inserted
replaced
1742:7bfa47410cc0 | 1743:2318ed01ce53 |
---|---|
215 | 215 |
216 # alpn | 216 # alpn |
217 | 217 |
218 ok(get_ssl_socket(8148, undef, ['imap']), 'alpn'); | 218 ok(get_ssl_socket(8148, undef, ['imap']), 'alpn'); |
219 | 219 |
220 SKIP: { | |
221 $t->{_configure_args} =~ /LibreSSL ([\d\.]+)/; | |
222 skip 'LibreSSL too old', 1 if defined $1 and $1 lt '3.4.0'; | |
223 | |
220 TODO: { | 224 TODO: { |
221 local $TODO = 'not yet' unless $t->has_version('1.21.4'); | 225 local $TODO = 'not yet' unless $t->has_version('1.21.4'); |
222 | 226 |
223 ok(!get_ssl_socket(8148, undef, ['unknown']), 'alpn rejected'); | 227 ok(!get_ssl_socket(8148, undef, ['unknown']), 'alpn rejected'); |
228 | |
229 } | |
224 | 230 |
225 } | 231 } |
226 | 232 |
227 # starttls imap | 233 # starttls imap |
228 | 234 |