Skip to content

Commit 31a8270

Browse files
committed
Tests: adjusted session reuse tests in ssl_ocsp.t.
Similar to generic SSL tests, only basic session reuse is now tested, notably with session tickets enabled and a shared SSL session cache. This should make it possible to reuse sessions in all cases (except when it's not supported, such as with LibreSSL with TLSv1.3). Notably, this allows to pass tests with various OpenSSL forks, which may provide OCSP support but lack TLSv1.3 session reuse with a shared SSL session cache.
1 parent cc102ca commit 31a8270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ssl_ocsp.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ http {
5151
ssl_certificate rsa.crt;
5252
5353
ssl_session_cache shared:SSL:1m;
54-
ssl_session_tickets off;
54+
ssl_session_tickets on;
5555
5656
add_header X-Verify x${ssl_client_verify}:${ssl_session_reused}x always;
5757
add_header X-SSL-Protocol $ssl_protocol always;

0 commit comments

Comments
 (0)