encrypt : invalid error message
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5819 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -77,7 +77,7 @@ class encrypt
|
|||||||
"Invalid ciphertext provided to decrypt method : empty string"), 500);
|
"Invalid ciphertext provided to decrypt method : empty string"), 500);
|
||||||
if (! in_array ($cipherMethod, openssl_get_cipher_methods()))
|
if (! in_array ($cipherMethod, openssl_get_cipher_methods()))
|
||||||
throw new \Exception (dgettext ("domframework",
|
throw new \Exception (dgettext ("domframework",
|
||||||
"Invalid cipher provided to decrypt method : ".
|
"Invalid cipherMethod provided to decrypt method : ".
|
||||||
"doesn't exists in OpenSSL"), 500);
|
"doesn't exists in OpenSSL"), 500);
|
||||||
if (strlen ($ckey) !== 24)
|
if (strlen ($ckey) !== 24)
|
||||||
throw new \Exception (dgettext ("domframework",
|
throw new \Exception (dgettext ("domframework",
|
||||||
|
|||||||
Reference in New Issue
Block a user