Mercurial > hg > nginx-tests
changeset 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 | 231b14e2041a |
children | 5c50786e5da9 |
files | ssl_certificate.t stream_ssl_certificate.t |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ssl_certificate.t Mon May 22 20:44:33 2023 +0400 +++ b/ssl_certificate.t Tue May 23 13:21:27 2023 +0400 @@ -177,6 +177,8 @@ 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');
--- a/stream_ssl_certificate.t Mon May 22 20:44:33 2023 +0400 +++ b/stream_ssl_certificate.t Tue May 23 13:21:27 2023 +0400 @@ -154,6 +154,8 @@ 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');