Created
April 12, 2019 08:16
-
-
Save Sean-Der/8fa830efc9c4ece3c472d2a188e683ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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