fix: Reuse existing PreSharedKeyExtension bug (#248)

This commit is contained in:
VeNoMouS 2023-10-10 12:29:04 +13:00
parent 75eb8e9e80
commit 780a63e47b

View file

@ -54,8 +54,8 @@ type sessionController struct {
func newSessionController(uconn *UConn) *sessionController { func newSessionController(uconn *UConn) *sessionController {
return &sessionController{ return &sessionController{
uconnRef: uconn, uconnRef: uconn,
sessionTicketExt: &SessionTicketExtension{}, sessionTicketExt: nil,
pskExtension: &UtlsPreSharedKeyExtension{}, pskExtension: nil,
state: NoSession, state: NoSession,
locked: false, locked: false,
callingLoadSession: false, callingLoadSession: false,