Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/server_handlers.go b/server_handlers.go
index 7d6abbc..384f6cc 100644
--- a/server_handlers.go
+++ b/server_handlers.go
@@ -264,7 +264,7 @@ func serverFlightHandler(c *Conn) (bool, error) {
content: &handshake{
// sequenceNumber and messageSequence line up, may need to be re-evaluated
handshakeHeader: handshakeHeader{
- messageSequence: uint16(sequenceNumber),
+ messageSequence: 1,
},
handshakeMessage: &handshakeMessageServerHello{
version: protocolVersion1_2,
@@ -284,7 +284,7 @@ func serverFlightHandler(c *Conn) (bool, error) {
content: &handshake{
// sequenceNumber and messageSequence line up, may need to be re-evaluated
handshakeHeader: handshakeHeader{
- messageSequence: uint16(sequenceNumber),
+ messageSequence: 1,
},
handshakeMessage: &handshakeMessageCertificate{
certificate: c.localCertificate,
@@ -317,7 +317,7 @@ func serverFlightHandler(c *Conn) (bool, error) {
content: &handshake{
// sequenceNumber and messageSequence line up, may need to be re-evaluated
handshakeHeader: handshakeHeader{
- messageSequence: uint16(sequenceNumber),
+ messageSequence: 1,
},
handshakeMessage: &handshakeMessageServerKeyExchange{
ellipticCurveType: ellipticCurveTypeNamedCurve,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.