diff --git a/Network/TLS/Extra/Certificate.hs b/Network/TLS/Extra/Certificate.hs
--- a/Network/TLS/Extra/Certificate.hs
+++ b/Network/TLS/Extra/Certificate.hs
@@ -157,7 +157,7 @@
 
 verifyF _ _ = \_ _ -> False
 
-dsaSHA1Verify pk _ b = False -- DSA.verify SHA1.hash pk asig b
+dsaSHA1Verify pk _ b = False
     --where asig = DSA.Signature 0 0 {- FIXME : need to work out how to get R/S from the bytestring a -}
 
 -- | Verify that the given certificate chain is application to the given fully qualified host name.
diff --git a/Network/TLS/Extra/Cipher.hs b/Network/TLS/Extra/Cipher.hs
--- a/Network/TLS/Extra/Cipher.hs
+++ b/Network/TLS/Extra/Cipher.hs
@@ -38,10 +38,10 @@
 import qualified "cipher-aes" Crypto.Cipher.AES as AES
 
 aes_cbc_encrypt :: Key -> IV -> B.ByteString -> B.ByteString
-aes_cbc_encrypt key iv d = AES.encryptCBC (AES.initKey key) (AES.IV iv) d
+aes_cbc_encrypt key iv d = AES.encryptCBC (AES.initAES key) iv d
 
 aes_cbc_decrypt :: Key -> IV -> B.ByteString -> B.ByteString
-aes_cbc_decrypt key iv d = AES.decryptCBC (AES.initKey key) (AES.IV iv) d
+aes_cbc_decrypt key iv d = AES.decryptCBC (AES.initAES key) iv d
 
 aes128_cbc_encrypt = aes_cbc_encrypt
 aes128_cbc_decrypt = aes_cbc_decrypt
diff --git a/tls-extra.cabal b/tls-extra.cabal
--- a/tls-extra.cabal
+++ b/tls-extra.cabal
@@ -1,5 +1,5 @@
 Name:                tls-extra
-Version:             0.6.4
+Version:             0.6.5
 Description:
    a set of extra definitions, default values and helpers for tls.
 License:             BSD3
@@ -27,12 +27,11 @@
                    , bytestring
                    , vector
                    , cipher-rc4
-                   , cipher-aes >= 0.1 && < 0.2
+                   , cipher-aes >= 0.2 && < 0.3
                    , certificate >= 1.3.5 && < 1.4.0
-                   , crypto-pubkey >= 0.1.4
-                   , crypto-random-api
+                   , crypto-pubkey >= 0.2.0
+                   , crypto-random
                    , pem >= 0.1.0 && < 0.2.0
-                   , text >= 0.5 && < 1.0
                    , time
   Exposed-modules:   Network.TLS.Extra
   other-modules:     Network.TLS.Extra.Certificate
@@ -52,8 +51,8 @@
                    , HUnit
                    , QuickCheck >= 2
                    , bytestring
-                   , cprng-aes >= 0.3.0
-                   , cipher-aes >= 0.1 && < 0.2
+                   , cprng-aes >= 0.5.0
+                   , cipher-aes >= 0.2 && < 0.3
   else
     Buildable:       False
   if os(windows)
