1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-14 10:07:32 +01:00

Merge branch '3.0'

This commit is contained in:
terrafrost 2020-05-15 21:36:52 -05:00
commit 392fc92ff1

View File

@ -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;
}
/**