Merge pull request #2205 from lucas-clemente/update-key-update-label

update the label used for the key updates for draft-24
This commit is contained in:
Marten Seemann
2019-11-20 10:36:33 +08:00
committed by GitHub

View File

@@ -110,7 +110,7 @@ func (a *updatableAEAD) rollKeys(now time.Time) {
}
func (a *updatableAEAD) getNextTrafficSecret(hash crypto.Hash, ts []byte) []byte {
return qtls.HkdfExpandLabel(hash, ts, []byte{}, "traffic upd", hash.Size())
return qtls.HkdfExpandLabel(hash, ts, []byte{}, "quic ku", hash.Size())
}
// For the client, this function is called before SetWriteKey.