mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-15 17:57:12 +00:00
Merge branch '3.0'
This commit is contained in:
commit
392fc92ff1
@ -780,7 +780,7 @@ abstract class SymmetricKey
|
||||
*/
|
||||
public function usesIV()
|
||||
{
|
||||
return $this->mode != self::MODE_GCM;
|
||||
return $this->mode != self::MODE_GCM && $this->mode != self::MODE_ECB;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user