Skip to content

Commit 8241508

Browse files
committed
Tests: unbreak tests with IO::Socket:SSL lacking SSL_session_key.
1 parent 50a8860 commit 8241508

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ssl_certificate.t

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ like(get('default', 8080, $s), qr/default:r/, 'session reused');
177177
TODO: {
178178
# ticket key name mismatch prevents session resumption
179179
local $TODO = 'not yet' unless $t->has_version('1.23.2');
180+
local $TODO = 'no SSL_session_key, old IO::Socket::SSL'
181+
if $IO::Socket::SSL::VERSION < 1.965;
180182

181183
like(get('default', 8081, $s), qr/default:r/, 'session id context match');
182184

stream_ssl_certificate.t

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ like(get('default', 8080, $s), qr/default:r/, 'session reused');
154154
TODO: {
155155
# ticket key name mismatch prevents session resumption
156156
local $TODO = 'not yet' unless $t->has_version('1.23.2');
157+
local $TODO = 'no SSL_session_key, old IO::Socket::SSL'
158+
if $IO::Socket::SSL::VERSION < 1.965;
157159

158160
like(get('default', 8081, $s), qr/default:r/, 'session id context match');
159161

0 commit comments

Comments
 (0)