From: Todd Short Date: Fri, 25 Mar 2022 17:34:11 +0000 (-0400) Subject: Fix: ticket_lifetime_hint may exceed 1 week in TLSv1.3 X-Git-Tag: OpenSSL_1_1_1o~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=739d2bdfba536ff59e8444eb4295b53288ac5caf;p=thirdparty%2Fopenssl.git Fix: ticket_lifetime_hint may exceed 1 week in TLSv1.3 libctx was left in cherry-pick from master/3.0 cherry-pick Reviewed-by: Matt Caswell Reviewed-by: Ben Kaduk (Merged from https://github.com/openssl/openssl/pull/17970) --- diff --git a/test/sslapitest.c b/test/sslapitest.c index 09a732f5771..a322f21d335 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -6754,7 +6754,7 @@ static int test_ticket_lifetime(int idx) version = TLS1_2_VERSION; } - if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(), + if (!TEST_true(create_ssl_ctx_pair(TLS_server_method(), TLS_client_method(), version, version, &sctx, &cctx, cert, privkey))) goto end;