Mercurial > hg > nginx-tests
comparison ssl_sni_sessions.t @ 1838:a68d1313c3fc
Tests: disabled ssl_sni_sessions.t with LibreSSL and BoringSSL.
With TLSv1.3, LibreSSL does not provide session reuse at all, and BoringSSL
only supports session tickets, and not server-side session cache. Since
the test is focused on session cache usage, it is now skipped.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 23 Mar 2023 19:50:06 +0300 |
parents | 0c5f0c016d2b |
children | cdcd75657e52 |
comparison
equal
deleted
inserted
replaced
1837:0c5f0c016d2b | 1838:a68d1313c3fc |
---|---|
128 $t->run(); | 128 $t->run(); |
129 | 129 |
130 plan(skip_all => 'no TLS 1.3 sessions') | 130 plan(skip_all => 'no TLS 1.3 sessions') |
131 if get('default', port(8443), get_ssl_context()) =~ /TLSv1.3/ | 131 if get('default', port(8443), get_ssl_context()) =~ /TLSv1.3/ |
132 && ($Net::SSLeay::VERSION < 1.88 || $IO::Socket::SSL::VERSION < 2.061); | 132 && ($Net::SSLeay::VERSION < 1.88 || $IO::Socket::SSL::VERSION < 2.061); |
133 plan(skip_all => 'no TLS 1.3 sessions in LibreSSL') | |
134 if get('default', port(8443), get_ssl_context()) =~ /TLSv1.3/ | |
135 && $t->has_module('LibreSSL'); | |
136 plan(skip_all => 'no TLS 1.3 session cache in BoringSSL') | |
137 if get('default', port(8443), get_ssl_context()) =~ /TLSv1.3/ | |
138 && $t->has_module('BoringSSL'); | |
133 | 139 |
134 $t->plan(6); | 140 $t->plan(6); |
135 | 141 |
136 ############################################################################### | 142 ############################################################################### |
137 | 143 |