drop support for QUIC draft version 32 and 34

This commit is contained in:
Marten Seemann 2021-06-27 17:07:42 -07:00
parent fa2e797215
commit f51cc93770
12 changed files with 23 additions and 51 deletions

View file

@ -48,7 +48,7 @@ func GetRetryIntegrityTag(retry []byte, origDestConnID protocol.ConnectionID, ve
var tag [16]byte
var sealed []byte
if version != protocol.VersionDraft34 && version != protocol.Version1 {
if version != protocol.Version1 {
sealed = oldRetryAEAD.Seal(tag[:0], oldRetryNonce[:], nil, retryBuf.Bytes())
} else {
sealed = retryAEAD.Seal(tag[:0], retryNonce[:], nil, retryBuf.Bytes())