diff --git a/Tests/RNG.hs b/Tests/RNG.hs
--- a/Tests/RNG.hs
+++ b/Tests/RNG.hs
@@ -24,8 +24,8 @@
      in (b:l, g'')
 
 instance CPRG Rng where
-    cprgGenBytes g len    = first B.pack $ getBytes len g
-    cprgSupplyEntropy g e = reseed e g
+    cprgGenBytes len g    = first B.pack $ getBytes len g
+    cprgSupplyEntropy e g = reseed e g
     cprgNeedReseed _      = maxBound
 
 reseed :: B.ByteString -> Rng -> Rng
diff --git a/crypto-numbers.cabal b/crypto-numbers.cabal
--- a/crypto-numbers.cabal
+++ b/crypto-numbers.cabal
@@ -1,5 +1,5 @@
 Name:                crypto-numbers
-Version:             0.1.0
+Version:             0.1.1
 Description:         Cryptographic numbers: functions and algorithms
 License:             BSD3
 License-file:        LICENSE
@@ -17,7 +17,7 @@
   Build-Depends:     base >= 4 && < 5
                    , bytestring
                    , vector
-                   , crypto-random-api
+                   , crypto-random-api >= 0.2 && < 0.3
   Exposed-modules:   Crypto.Number.ModArithmetic
                      Crypto.Number.Serialize
                      Crypto.Number.Generate
