forked from quic-go/quic-go
@@ -150,7 +150,7 @@ func splitHashes(hashes []byte) ([]uint64, error) {
|
||||
}
|
||||
|
||||
func hashCert(cert []byte) uint64 {
|
||||
h := fnv.New64()
|
||||
h := fnv.New64a()
|
||||
h.Write(cert)
|
||||
return h.Sum64()
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ import (
|
||||
)
|
||||
|
||||
func byteHash(d []byte) []byte {
|
||||
h := fnv.New64()
|
||||
h := fnv.New64a()
|
||||
h.Write(d)
|
||||
s := h.Sum64()
|
||||
res := make([]byte, 8)
|
||||
|
||||
Reference in New Issue
Block a user