From 97cbacd0c9fb0d9aa1d76c29ea87404b9d3c1cc4 Mon Sep 17 00:00:00 2001 From: Joe Crayne Date: Mon, 3 Dec 2018 21:03:52 -0500 Subject: TCP Client, WIP. --- src/Network/Tox/Onion/Transport.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Network/Tox/Onion/Transport.hs') diff --git a/src/Network/Tox/Onion/Transport.hs b/src/Network/Tox/Onion/Transport.hs index 3d8a9e93..0cb03718 100644 --- a/src/Network/Tox/Onion/Transport.hs +++ b/src/Network/Tox/Onion/Transport.hs @@ -105,7 +105,7 @@ putOnionAsymm typ p a = put typ >> p >> putAliasedAsymm a data OnionMessage (f :: * -> *) = OnionAnnounce (Asymm (f (AnnounceRequest,Nonce8))) - | OnionAnnounceResponse Nonce8 Nonce24 (f AnnounceResponse) + | OnionAnnounceResponse Nonce8 Nonce24 (f AnnounceResponse) -- XXX: Why is Nonce8 transmitted in the clear? | OnionToRoute PublicKey (Asymm (Encrypted DataToRoute)) -- destination key, aliased Asymm | OnionToRouteResponse (Asymm (Encrypted DataToRoute)) -- cgit v1.2.3