From 32acf235e8a2a251dd52c44c3d582af66f2ad8b0 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sat, 16 May 2020 13:19:24 -0500 Subject: [PATCH] SymmetricKey: rm unused line --- phpseclib/Crypt/Common/SymmetricKey.php | 1 - 1 file changed, 1 deletion(-) diff --git a/phpseclib/Crypt/Common/SymmetricKey.php b/phpseclib/Crypt/Common/SymmetricKey.php index b28327fe..6918469a 100644 --- a/phpseclib/Crypt/Common/SymmetricKey.php +++ b/phpseclib/Crypt/Common/SymmetricKey.php @@ -3117,7 +3117,6 @@ abstract class SymmetricKey if (strlen($this->nonce) == 12) { $this->iv = $this->nonce . "\0\0\0\1"; } else { - $s = 16 * ceil(strlen($this->nonce) / 16) - strlen($this->nonce); $this->iv = $this->ghash( self::nullPad128($this->nonce) . str_repeat("\0", 8) . self::len64($this->nonce) );