[Bug 2729] Can connect with MAC hmac-sha1 even though it's not configured on the server

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Jun 14 13:27:24 AEST 2017


https://bugzilla.mindrot.org/show_bug.cgi?id=2729

--- Comment #5 from Nitin Mahendru <nitin.mahendru88 at gmail.com> ---
cool. got ya. 
In file kex.c, below is the relevant code right ?

authlen = cipher_authlen(newkeys->enc.cipher); 
/* ignore mac for authenticated encryption */
if (authlen == 0 &&
   (r = choose_mac(ssh, &newkeys->mac, cprop[nmac],
   sprop[nmac])) != 0) {      }

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list