CRYPT_MODE_DES_CBC should have been CRYPT_DES_MODE_CBC

Thanks arook!
This commit is contained in:
terrafrost 2012-09-22 11:32:41 -05:00
parent 6686e203e7
commit 3a5ab5276e

View File

@ -291,7 +291,7 @@ class Crypt_DES {
* @return Crypt_DES
* @access public
*/
function Crypt_DES($mode = CRYPT_MODE_DES_CBC)
function Crypt_DES($mode = CRYPT_DES_MODE_CBC)
{
if ( !defined('CRYPT_DES_MODE') ) {
switch (true) {