cryptonite/Crypto/Internal
Sergei Trofimovich d911a34258 fix build failure with -f-support_deepseq disabled
How to reproduce:

```
$ cabal configure -f-support_deepseq
Resolving dependencies...
Configuring cryptonite-0.23...

$ cabal build
Building cryptonite-0.23...
Preprocessing library cryptonite-0.23...
[114 of 120] Compiling Crypto.PubKey.RSA.Types ( Crypto/PubKey/RSA/Types.hs, dist/build/Crypto/PubKey/RSA/Types

Crypto/PubKey/RSA/Types.hs:48:30: error:
    • No instance for (NFData Integer) arising from a use of ‘rnf’
    • In the first argument of ‘seq’, namely ‘rnf n’
      In the expression: rnf n `seq` rnf e `seq` sz `seq` ()
      In an equation for ‘rnf’:
          rnf (PublicKey sz n e) = rnf n `seq` rnf e `seq` sz `seq` ()
```

The fix is to inctoruce 'NFData Integer' instance to `Crypto/Internal/DeepSeq`.

Closes: https://github.com/haskell-crypto/cryptonite/issues/171
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2017-06-19 10:37:23 +01:00
..
ByteArray.hs more fixing up description and comments 2015-05-20 06:22:00 +01:00
Compat.hs [Internal] move all primitives stuff in CompatPrim 2015-04-11 08:26:30 +01:00
CompatPrim.hs [endianess] fix some issues on non supported arches 2015-08-28 17:10:27 +01:00
DeepSeq.hs fix build failure with -f-support_deepseq disabled 2017-06-19 10:37:23 +01:00
Endian.hs swap endianess 2015-04-08 20:40:30 +01:00
Imports.hs add optional support for deepseq 2015-05-22 18:35:46 +01:00
Nat.hs add new constraints 2017-03-13 18:52:24 +00:00
Proxy.hs add internal proxy type to create witnesses 2016-12-02 15:00:05 +00:00
WordArray.hs add comments and description 2015-05-20 06:07:31 +01:00
Words.hs add comments and description 2015-05-20 06:07:31 +01:00