diff --git a/lib/openpgp_crypt_symmetric.php b/lib/openpgp_crypt_symmetric.php index 997d530..3f608cb 100644 --- a/lib/openpgp_crypt_symmetric.php +++ b/lib/openpgp_crypt_symmetric.php @@ -159,8 +159,6 @@ class OpenPGP_Crypt_Symmetric { $cipher = new OpenSSLWrapper("CAST5-CFB"); } else if(defined('MCRYPT_CAST_128')) { $cipher = new MCryptWrapper(MCRYPT_CAST_128); - } else { - throw new Exception("Unsupported cipher: you must have mcrypt installed to use CAST5"); } break; case 4: