Merge pull request #425 from bantu/ssh-remove-none-mac

SSH2: Disallow the none MAC.

* bantu/ssh-remove-none-mac:
  SSH2: Disallow the none MAC.
This commit is contained in:
Andreas Fischer 2014-07-26 13:14:39 +02:00
commit 2ccb301c4c

View File

@ -1170,7 +1170,7 @@ class Net_SSH2
'hmac-sha1', // REQUIRED HMAC-SHA1 (digest length = key length = 20)
'hmac-md5-96', // OPTIONAL first 96 bits of HMAC-MD5 (digest length = 12, key length = 16)
'hmac-md5', // OPTIONAL HMAC-MD5 (digest length = key length = 16)
'none' // OPTIONAL no MAC; NOT RECOMMENDED
//'none' // OPTIONAL no MAC; NOT RECOMMENDED
);
static $compression_algorithms = array(