DES: fix fatal error that could occur under special circumstances

This commit is contained in:
terrafrost 2015-03-21 11:01:43 -05:00
parent f57e01df65
commit 4ba8c24c13

View File

@ -1343,8 +1343,8 @@ class DES extends Base
$k[self::ENCRYPT][$i] = '$ke[' . $i . ']';
$k[self::DECRYPT][$i] = '$kd[' . $i . ']';
}
$init_encrypt = '$ke = $self->keys[self::ENCRYPT];';
$init_decrypt = '$kd = $self->keys[self::DECRYPT];';
$init_encrypt = '$ke = $self->keys[$self::ENCRYPT];';
$init_decrypt = '$kd = $self->keys[$self::DECRYPT];';
break;
}