Skip to content

Commit

Permalink
fix: default PreSharedKeyExtension bug (#248) (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
VeNoMouS committed Oct 10, 2023
1 parent 75eb8e9 commit 428ca2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions u_session_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 428ca2c

Please sign in to comment.