summaryrefslogtreecommitdiff
path: root/ToxCrypto.hs
diff options
context:
space:
mode:
Diffstat (limited to 'ToxCrypto.hs')
-rw-r--r--ToxCrypto.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ToxCrypto.hs b/ToxCrypto.hs
index 7797da70..9f39f1e1 100644
--- a/ToxCrypto.hs
+++ b/ToxCrypto.hs
@@ -87,7 +87,7 @@ instance Data Auth where
87 -- Well, this is a little wonky... XXX 87 -- Well, this is a little wonky... XXX
88 gunfold k z c = k (z (Auth . Poly1305.Auth . (BA.convert :: ByteString -> Bytes))) 88 gunfold k z c = k (z (Auth . Poly1305.Auth . (BA.convert :: ByteString -> Bytes)))
89 toConstr _ = con_Auth 89 toConstr _ = con_Auth
90 dataTypeOf _ = mkDataType "ToxMessage" [con_Auth] 90 dataTypeOf _ = mkDataType "ToxCrypto" [con_Auth]
91con_Auth :: Constr 91con_Auth :: Constr
92con_Auth = mkConstr (dataTypeOf (Auth (error "con_Auth"))) "Auth" [] Prefix 92con_Auth = mkConstr (dataTypeOf (Auth (error "con_Auth"))) "Auth" [] Prefix
93instance Serialize Auth where 93instance Serialize Auth where