From 70f5eb4bf7a72905b51ea1c6f6fa9d6fe6d8d776 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sat, 23 Mar 2019 20:53:20 -0500 Subject: [PATCH] SSH2: Rijndael -> AES (for consistency) --- phpseclib/Net/SSH2.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index da2218a5..f475b6c0 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -55,7 +55,6 @@ use phpseclib\Crypt\Hash; use phpseclib\Crypt\Random; use phpseclib\Crypt\RC4; use phpseclib\Crypt\Rijndael; -use phpseclib\Crypt\AES; use phpseclib\Crypt\RSA; use phpseclib\Crypt\TripleDES; use phpseclib\Crypt\Twofish; @@ -2143,7 +2142,7 @@ class SSH2 return new RC4(); case 'aes128-gcm@openssh.com': case 'aes256-gcm@openssh.com': - return new AES('gcm'); + return new Rijndael('gcm'); } return null; }