mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-16 02:07:09 +00:00
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:
commit
2ccb301c4c
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user