diff options
Diffstat (limited to 'ToxCrypto.hs')
-rw-r--r-- | ToxCrypto.hs | 2 |
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] |
91 | con_Auth :: Constr | 91 | con_Auth :: Constr |
92 | con_Auth = mkConstr (dataTypeOf (Auth (error "con_Auth"))) "Auth" [] Prefix | 92 | con_Auth = mkConstr (dataTypeOf (Auth (error "con_Auth"))) "Auth" [] Prefix |
93 | instance Serialize Auth where | 93 | instance Serialize Auth where |