Mercurial > hg > nginx-tests
changeset 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 | ebc6e5afe597 |
files | ssl_sni_sessions.t |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ssl_sni_sessions.t +++ b/ssl_sni_sessions.t @@ -130,6 +130,12 @@ foreach my $name ('localhost') { plan(skip_all => 'no TLS 1.3 sessions') if get('default', port(8443), get_ssl_context()) =~ /TLSv1.3/ && ($Net::SSLeay::VERSION < 1.88 || $IO::Socket::SSL::VERSION < 2.061); +plan(skip_all => 'no TLS 1.3 sessions in LibreSSL') + if get('default', port(8443), get_ssl_context()) =~ /TLSv1.3/ + && $t->has_module('LibreSSL'); +plan(skip_all => 'no TLS 1.3 session cache in BoringSSL') + if get('default', port(8443), get_ssl_context()) =~ /TLSv1.3/ + && $t->has_module('BoringSSL'); $t->plan(6);