mirror of
https://github.com/danog/tgseclib.git
synced 2025-01-22 05:51:20 +01:00
CRYPT_MODE_DES_CBC should have been CRYPT_DES_MODE_CBC
Thanks arook!
This commit is contained in:
parent
6686e203e7
commit
3a5ab5276e
@ -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:
|
Loading…
x
Reference in New Issue
Block a user