diff options
author | James Crayne <jim.crayne@gmail.com> | 2018-05-29 02:03:41 +0000 |
---|---|---|
committer | James Crayne <jim.crayne@gmail.com> | 2018-05-29 02:03:41 +0000 |
commit | efc45ad4c240529913e4f7d4f0c9f880cba6c0f9 (patch) | |
tree | 3abd53a933a6dd068a77f18d80623b314c1ecdbc /src/Network/Tox/DHT/Handlers.hs | |
parent | 4728116433ddd449dc4c654847ed2f35a38605db (diff) |
Show instance for SymmetricKey, more debug prints
Diffstat (limited to 'src/Network/Tox/DHT/Handlers.hs')
-rw-r--r-- | src/Network/Tox/DHT/Handlers.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Network/Tox/DHT/Handlers.hs b/src/Network/Tox/DHT/Handlers.hs index 327659a9..42937b89 100644 --- a/src/Network/Tox/DHT/Handlers.hs +++ b/src/Network/Tox/DHT/Handlers.hs | |||
@@ -231,6 +231,7 @@ createCookie crypto ni remoteUserKey = do | |||
231 | , dhtKey = transportPublic crypto | 231 | , dhtKey = transportPublic crypto |
232 | } | 232 | } |
233 | edta = encryptSymmetric sym n24 dta | 233 | edta = encryptSymmetric sym n24 dta |
234 | hPutStrLn stderr $ "Created cookie with n24 = 0x" ++ show n24 ++ "\n sym=" ++ show sym | ||
234 | return $ Cookie n24 edta | 235 | return $ Cookie n24 edta |
235 | 236 | ||
236 | cookieRequestH :: TransportCrypto -> NodeInfo -> CookieRequest -> IO Cookie | 237 | cookieRequestH :: TransportCrypto -> NodeInfo -> CookieRequest -> IO Cookie |