X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=sshsha.c;h=c17149eec888a49b886eb10fb158ee301f1eaa07;hb=162d04d360d8d70269ad17a02d44a983cb8dbfef;hp=d7c1f4373b3ead60d05a1d2f04c90acc77ac73f6;hpb=d36a4c3685f17057ba2c80ac471c1284b615469f;p=PuTTY.git diff --git a/sshsha.c b/sshsha.c index d7c1f437..c17149ee 100644 --- a/sshsha.c +++ b/sshsha.c @@ -1,5 +1,5 @@ /* - * SHA1 hash algorithm. Used in SSH2 as a MAC, and the transform is + * SHA1 hash algorithm. Used in SSH-2 as a MAC, and the transform is * also used as a `stirring' function for the PuTTY random number * pool. Implemented directly from the specification by Simon * Tatham. @@ -286,12 +286,14 @@ const struct ssh_mac ssh_sha1 = { sha1_make_context, sha1_free_context, sha1_key, sha1_generate, sha1_verify, "hmac-sha1", - 20 + 20, + "HMAC-SHA1" }; const struct ssh_mac ssh_sha1_buggy = { sha1_make_context, sha1_free_context, sha1_key_buggy, sha1_generate, sha1_verify, "hmac-sha1", - 20 + 20, + "bug-compatible HMAC-SHA1" };