From 3a5ab5276ec7767244b1f1831e01402844ec49b2 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sat, 22 Sep 2012 11:32:41 -0500 Subject: [PATCH] CRYPT_MODE_DES_CBC should have been CRYPT_DES_MODE_CBC Thanks arook! --- phpseclib/Crypt/DES.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpseclib/Crypt/DES.php b/phpseclib/Crypt/DES.php index 2fd7a9b8..f6c1f301 100644 --- a/phpseclib/Crypt/DES.php +++ b/phpseclib/Crypt/DES.php @@ -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) { @@ -1292,4 +1292,4 @@ class Crypt_DES { } // vim: ts=4:sw=4:et: -// vim6: fdl=1: +// vim6: fdl=1: \ No newline at end of file