improve the version negotiation integration test

This commit is contained in:
Marten Seemann
2018-08-27 09:07:11 +07:00
parent c481645276
commit 46f8c07daa
4 changed files with 14 additions and 7 deletions

View File

@@ -41,7 +41,7 @@ func IsValidVersion(v VersionNumber) bool {
// UsesTLS says if this QUIC version uses TLS 1.3 for the handshake
func (vn VersionNumber) UsesTLS() bool {
return vn == VersionTLS
return !vn.isGQUIC()
}
func (vn VersionNumber) String() string {