diff --git a/clientsession.cabal b/clientsession.cabal
--- a/clientsession.cabal
+++ b/clientsession.cabal
@@ -1,5 +1,5 @@
 name:            clientsession
-version:         0.9.0.1
+version:         0.9.0.2
 license:         BSD3
 license-file:    LICENSE
 author:          Michael Snoyman <michael@snoyman.com>, Felipe Lessa <felipe.lessa@gmail.com>
diff --git a/src/Web/ClientSession.hs b/src/Web/ClientSession.hs
--- a/src/Web/ClientSession.hs
+++ b/src/Web/ClientSession.hs
@@ -130,18 +130,10 @@
 newtype IV = IV S.ByteString
 
 unsafeMkIV :: S.ByteString -> IV
-#if MIN_VERSION_cipher_aes(0, 2, 0)
 unsafeMkIV bs = (IV bs)
-#else
-unsafeMkIV bs = (IV (A.IV bs))
-#endif
 
 unIV :: IV -> S.ByteString
-#if MIN_VERSION_cipher_aes(0, 2, 0)
 unIV (IV bs) = bs
-#else
-unIV (IV (A.IV bs)) = bs
-#endif
 
 instance Eq IV where
   (==) = (==) `on` unIV
@@ -237,7 +229,11 @@
                         -- the client browser.
 encrypt key (IV iv) x = B.encode final
   where
+#if MIN_VERSION_cipher_aes(0, 2, 0)
     encrypted  = A.encryptCTR (aesKey key) iv x
+#else
+    encrypted  = A.encryptCTR (aesKey key) (A.IV iv) x
+#endif
     toBeAuthed = iv `S.append` encrypted
     auth       = macKey key toBeAuthed
     final      = encode auth `S.append` toBeAuthed
