check that the peer updated its keys when acknowledging a key update

This commit is contained in:
Marten Seemann
2020-09-15 08:46:40 +07:00
parent 272a2c88e6
commit 9d4b4f6bf0
6 changed files with 71 additions and 15 deletions

View File

@@ -76,7 +76,7 @@ type CryptoSetup interface {
GetSessionTicket() ([]byte, error)
HandleMessage([]byte, protocol.EncryptionLevel) bool
SetLargest1RTTAcked(protocol.PacketNumber)
SetLargest1RTTAcked(protocol.PacketNumber) error
DropHandshakeKeys()
ConnectionState() ConnectionState