From 780a63e47b85c83289866acf9ff142f1ad6e016a Mon Sep 17 00:00:00 2001 From: VeNoMouS Date: Tue, 10 Oct 2023 12:29:04 +1300 Subject: [PATCH] fix: Reuse existing PreSharedKeyExtension bug (#248) --- u_session_controller.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/u_session_controller.go b/u_session_controller.go index 33e0e37..4c6a79c 100644 --- a/u_session_controller.go +++ b/u_session_controller.go @@ -54,8 +54,8 @@ type sessionController struct { func newSessionController(uconn *UConn) *sessionController { return &sessionController{ uconnRef: uconn, - sessionTicketExt: &SessionTicketExtension{}, - pskExtension: &UtlsPreSharedKeyExtension{}, + sessionTicketExt: nil, + pskExtension: nil, state: NoSession, locked: false, callingLoadSession: false,