Mercurial > hg > nginx-tests
diff stream_ssl_certificate.t @ 1868:d570dbcad925
Tests: unbreak tests with IO::Socket:SSL lacking SSL_session_key.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 23 May 2023 13:21:27 +0400 |
parents | dbb7561a9441 |
children | c924ae8d7104 |
line wrap: on
line diff
--- a/stream_ssl_certificate.t +++ b/stream_ssl_certificate.t @@ -154,6 +154,8 @@ like(get('default', 8080, $s), qr/defaul TODO: { # ticket key name mismatch prevents session resumption local $TODO = 'not yet' unless $t->has_version('1.23.2'); +local $TODO = 'no SSL_session_key, old IO::Socket::SSL' + if $IO::Socket::SSL::VERSION < 1.965; like(get('default', 8081, $s), qr/default:r/, 'session id context match');