From 1b3b665cb8413ed519fab1fa560716736676fa59 Mon Sep 17 00:00:00 2001 From: Joe Crayne Date: Thu, 1 Nov 2018 21:51:00 -0400 Subject: Comments and debug prints. --- src/Network/Tox/Crypto/Transport.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Network/Tox/Crypto/Transport.hs') diff --git a/src/Network/Tox/Crypto/Transport.hs b/src/Network/Tox/Crypto/Transport.hs index 9220fd1e..2a0633f0 100644 --- a/src/Network/Tox/Crypto/Transport.hs +++ b/src/Network/Tox/Crypto/Transport.hs @@ -154,8 +154,9 @@ data HandshakeData = HandshakeData -- This prevents a replay attack where a new cookie is inserted into -- an old valid handshake packet , otherCookie :: Cookie Encrypted - -- ^ Other Cookie (used by the repient to respond to the handshake packet) + -- ^ Other Cookie (used by the recipient to respond to the handshake packet) } + deriving (Eq,Ord,Show) instance Sized HandshakeData where size = contramap baseNonce size -- cgit v1.2.3