comparison h2_http2.t @ 1921:07656d303199

Tests: adjusted TODO for OpenSSL 1.0.2h and up in h2_http2.t. OpenSSL uses correct SNI/ALPN callback order (SNI callback before ALPN callback) starting with OpenSSL 1.0.2h, so "sni to enabled" test is expected to succeed starting with OpenSSL 1.0.2h. With this change, the "openssl:..." feature test now supports checking patch level encoded as letters, such as in "openssl:1.0.2h".
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 12 Jul 2023 02:40:24 +0300
parents 79ca9ab75310
children
comparison
equal deleted inserted replaced
1920:79ca9ab75310 1921:07656d303199
149 } 149 }
150 150
151 TODO: { 151 TODO: {
152 local $TODO = 'broken ALPN/SNI order in LibreSSL' 152 local $TODO = 'broken ALPN/SNI order in LibreSSL'
153 if $t->has_module('LibreSSL'); 153 if $t->has_module('LibreSSL');
154 local $TODO = 'OpenSSL too old' 154 local $TODO = 'broken ALPN/SNI order in OpenSSL before 1.0.2h'
155 if $t->has_module('OpenSSL') 155 if $t->has_module('OpenSSL')
156 and not $t->has_feature('openssl:1.1.0'); 156 and not $t->has_feature('openssl:1.0.2h');
157 157
158 is(get_https(8444, 'http2'), 200, 'sni to enabled'); 158 is(get_https(8444, 'http2'), 200, 'sni to enabled');
159 159
160 } 160 }
161 161