Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
reflog committed Nov 11, 2024
1 parent f1d8026 commit ce6760a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tlslistener/clienthelloconn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,6 @@ func TestParseInvalidTicket(t *testing.T) {
rand.Read(tk[:])
ticket := make([]byte, 120)
rand.Read(ticket)
plainText, _ := utls.DecryptTicketWith(ticket, utls.TicketKeys{utls.TicketKeyFromBytes(tk)})
plainText := utls.DecryptTicketWith(ticket, utls.TicketKeys{utls.TicketKeyFromBytes(tk)})
require.Len(t, plainText, 0)
}

0 comments on commit ce6760a

Please sign in to comment.