forked from quic-go/quic-go
treat the connection ID as a big endian value
This commit is contained in:
@@ -42,7 +42,7 @@ func deriveKeys(forwardSecure bool, sharedSecret, nonces []byte, connID protocol
|
||||
} else {
|
||||
info.Write([]byte("QUIC key expansion\x00"))
|
||||
}
|
||||
utils.LittleEndian.WriteUint64(&info, uint64(connID))
|
||||
utils.BigEndian.WriteUint64(&info, uint64(connID))
|
||||
info.Write(chlo)
|
||||
info.Write(scfg)
|
||||
info.Write(cert)
|
||||
|
||||
Reference in New Issue
Block a user