summaryrefslogtreecommitdiff
path: root/src/Network/Tox/Onion
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/Tox/Onion')
-rw-r--r--src/Network/Tox/Onion/Transport.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/Tox/Onion/Transport.hs b/src/Network/Tox/Onion/Transport.hs
index 0da48f76..8a66f2b2 100644
--- a/src/Network/Tox/Onion/Transport.hs
+++ b/src/Network/Tox/Onion/Transport.hs
@@ -924,7 +924,7 @@ encodeDataToRoute crypto ((me,omsg), AnnouncedRendezvous toxid (Rendezvous pub n
924 } 924 }
925 outerSecret <- lookupSharedSecret crypto (onionAliasSecret crypto) pub nonce 925 outerSecret <- lookupSharedSecret crypto (onionAliasSecret crypto) pub nonce
926 let dta = ToxCrypto.encrypt outerSecret plain 926 let dta = ToxCrypto.encrypt outerSecret plain
927 hPutStrLn stderr $ unlines 927 dput XOnion $ unlines
928 [ "encodeDataToRoute me=" ++ show (key2id me) 928 [ "encodeDataToRoute me=" ++ show (key2id me)
929 , " dhtpk=" ++ case omsg of 929 , " dhtpk=" ++ case omsg of
930 OnionDHTPublicKey dmsg -> show (key2id $ dhtpk dmsg) 930 OnionDHTPublicKey dmsg -> show (key2id $ dhtpk dmsg)