remove the VERSION_NEGOTIATION_ERROR

This commit is contained in:
Marten Seemann
2019-11-27 19:15:48 +07:00
parent d869b76db6
commit 02acf81ca1

View File

@@ -20,7 +20,6 @@ const (
FinalSizeError ErrorCode = 0x6
FrameEncodingError ErrorCode = 0x7
TransportParameterError ErrorCode = 0x8
VersionNegotiationError ErrorCode = 0x9
ProtocolViolation ErrorCode = 0xa
CryptoBufferExceeded ErrorCode = 0xd
)
@@ -65,8 +64,6 @@ func (e ErrorCode) String() string {
return "FRAME_ENCODING_ERROR"
case TransportParameterError:
return "TRANSPORT_PARAMETER_ERROR"
case VersionNegotiationError:
return "VERSION_NEGOTIATION_ERROR"
case ProtocolViolation:
return "PROTOCOL_VIOLATION"
case CryptoBufferExceeded: