mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 19:54:57 +00:00
Do CRYPT_DES_MODE_CBC instead of CRYPT_MODE_DES_CBC
This commit is contained in:
parent
6686e203e7
commit
13eed6147a
@ -291,7 +291,7 @@ class Crypt_DES {
|
|||||||
* @return Crypt_DES
|
* @return Crypt_DES
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
function Crypt_DES($mode = CRYPT_MODE_DES_CBC)
|
function Crypt_DES($mode = CRYPT_DES_MODE_CBC)
|
||||||
{
|
{
|
||||||
if ( !defined('CRYPT_DES_MODE') ) {
|
if ( !defined('CRYPT_DES_MODE') ) {
|
||||||
switch (true) {
|
switch (true) {
|
||||||
|
Loading…
Reference in New Issue
Block a user