]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix: ticket_lifetime_hint may exceed 1 week in TLSv1.3
authorTodd Short <todd.short@me.com>
Fri, 25 Mar 2022 17:34:11 +0000 (13:34 -0400)
committerTodd Short <todd.short@me.com>
Fri, 25 Mar 2022 20:35:47 +0000 (16:35 -0400)
libctx was left in cherry-pick from master/3.0 cherry-pick

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/17970)

test/sslapitest.c

index 09a732f5771dde92a69804c6b1cff417c9a57a9b..a322f21d335dad57d90b876aa0a39698e8ac941b 100644 (file)
@@ -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;