comparison ssl_sni.t @ 1535:144c6ce732e4

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 02 Dec 2019 14:56:37 +0300
parents dbce8fb5f5f8
children db6fd9184fa0
comparison
equal deleted inserted replaced
1534:96fb3513345b 1535:144c6ce732e4
150 150
151 SKIP: { 151 SKIP: {
152 skip 'no TLS 1.3 sessions', 1 if get('/protocol', 'localhost') =~ /TLSv1.3/ 152 skip 'no TLS 1.3 sessions', 1 if get('/protocol', 'localhost') =~ /TLSv1.3/
153 && ($Net::SSLeay::VERSION < 1.88 || $IO::Socket::SSL::VERSION < 2.061); 153 && ($Net::SSLeay::VERSION < 1.88 || $IO::Socket::SSL::VERSION < 2.061);
154 154
155 TODO: {
156 local $TODO = 'not yet' if $t->has_module('OpenSSL (1.1.1|3)')
157 && !$t->has_version('1.15.10');
158
159 like(get('/', 'localhost', 8081, $ctx), qr/^r:localhost$/m, 155 like(get('/', 'localhost', 8081, $ctx), qr/^r:localhost$/m,
160 'ssl server name - reused'); 156 'ssl server name - reused');
161
162 }
163 157
164 } 158 }
165 159
166 ############################################################################### 160 ###############################################################################
167 161