1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-18 19:41:01 -05:00

Allow a cipher to override the SSH KEX's choice of MAC.

No cipher uses this facility yet, but one shortly will.
This commit is contained in:
Chris Staite
2015-06-07 13:40:11 +01:00
committed by Simon Tatham
parent 3ce4594d14
commit 705f159255
10 changed files with 53 additions and 23 deletions

View File

@ -21,7 +21,7 @@ static void hmacmd5_chap(const unsigned char *challenge, int challen,
void *hmacmd5_ctx;
int pwlen;
hmacmd5_ctx = hmacmd5_make_context();
hmacmd5_ctx = hmacmd5_make_context(NULL);
pwlen = strlen(passwd);
if (pwlen>64) {