X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=sshmd5.c;h=b39dfd3e52dba4a399706c3769193c05ff738168;hb=48eafd66aa274c32fc8169a0d36619663905c210;hp=ca5c426cc4de9b4290b1106917922b42b2ae3f11;hpb=2105b68e6e6068bc2b7182d20f1f11f04130675b;p=PuTTY.git diff --git a/sshmd5.c b/sshmd5.c index ca5c426c..b39dfd3e 100644 --- a/sshmd5.c +++ b/sshmd5.c @@ -221,7 +221,7 @@ void MD5Simple(void const *p, unsigned len, unsigned char output[16]) * useful elsewhere (SOCKS5 CHAP authentication uses HMAC-MD5). */ -void *hmacmd5_make_context(void) +void *hmacmd5_make_context(void *cipher_ctx) { return snewn(3, struct MD5Context); } @@ -336,7 +336,7 @@ const struct ssh_mac ssh_hmac_md5 = { hmacmd5_make_context, hmacmd5_free_context, hmacmd5_key_16, hmacmd5_generate, hmacmd5_verify, hmacmd5_start, hmacmd5_bytes, hmacmd5_genresult, hmacmd5_verresult, - "hmac-md5", - 16, + "hmac-md5", "hmac-md5-etm@openssh.com", + 16, 16, "HMAC-MD5" };