forked from quic-go/quic-go
allow the first key update immediately after handshake confirmation
This commit is contained in:
@@ -653,6 +653,7 @@ func (h *cryptoSetup) dropInitialKeys() {
|
||||
}
|
||||
|
||||
func (h *cryptoSetup) SetHandshakeConfirmed() {
|
||||
h.aead.SetHandshakeConfirmed()
|
||||
// drop Handshake keys
|
||||
var dropped bool
|
||||
h.mutex.Lock()
|
||||
|
||||
Reference in New Issue
Block a user