diff options
author | joe <joe@jerkface.net> | 2018-06-02 04:08:54 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2018-06-02 04:08:54 -0400 |
commit | bc8c61dd7933f1cacd91282c0476f7bc46795daf (patch) | |
tree | a1a70df0fecd312152bc7ad421457dc28cf7e18e /src/Network/Tox/Crypto/Handlers.hs | |
parent | 1a2e32e7ae1e6e2e9e02ae4fefeb3645e4fb6028 (diff) |
Change Cookie -> Cookie Encrypted
Diffstat (limited to 'src/Network/Tox/Crypto/Handlers.hs')
-rw-r--r-- | src/Network/Tox/Crypto/Handlers.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Network/Tox/Crypto/Handlers.hs b/src/Network/Tox/Crypto/Handlers.hs index f650a815..56fb4dcf 100644 --- a/src/Network/Tox/Crypto/Handlers.hs +++ b/src/Network/Tox/Crypto/Handlers.hs | |||
@@ -222,7 +222,7 @@ data NetCryptoSession = NCrypto | |||
222 | , ncTheirBaseNonce :: TVar (UponHandshake Nonce24) -- base nonce + packet number | 222 | , ncTheirBaseNonce :: TVar (UponHandshake Nonce24) -- base nonce + packet number |
223 | , ncMyPacketNonce :: TVar Nonce24 -- base nonce + packet number | 223 | , ncMyPacketNonce :: TVar Nonce24 -- base nonce + packet number |
224 | , ncHandShake :: TVar (UponHandshake (Handshake Encrypted)) | 224 | , ncHandShake :: TVar (UponHandshake (Handshake Encrypted)) |
225 | , ncCookie :: TVar (UponCookie Cookie) -- ^ Cookie issued by remote peer | 225 | , ncCookie :: TVar (UponCookie (Cookie Encrypted)) -- ^ Cookie issued by remote peer |
226 | , ncTheirDHTKey :: UponDHTKey PublicKey | 226 | , ncTheirDHTKey :: UponDHTKey PublicKey |
227 | , ncTheirSessionPublic :: TVar (UponHandshake PublicKey) | 227 | , ncTheirSessionPublic :: TVar (UponHandshake PublicKey) |
228 | , ncSessionSecret :: SecretKey | 228 | , ncSessionSecret :: SecretKey |
@@ -387,7 +387,7 @@ newSessionsState crypto unrechook hooks = do | |||
387 | data HandshakeParams | 387 | data HandshakeParams |
388 | = HParam | 388 | = HParam |
389 | { hpTheirBaseNonce :: Maybe Nonce24 -- ignore and generate your own | 389 | { hpTheirBaseNonce :: Maybe Nonce24 -- ignore and generate your own |
390 | , hpOtherCookie :: Cookie | 390 | , hpOtherCookie :: Cookie Encrypted |
391 | , hpTheirSessionKeyPublic :: Maybe PublicKey | 391 | , hpTheirSessionKeyPublic :: Maybe PublicKey |
392 | , hpMySecretKey :: SecretKey | 392 | , hpMySecretKey :: SecretKey |
393 | , hpCookieRemotePubkey :: PublicKey | 393 | , hpCookieRemotePubkey :: PublicKey |