Log the hash used for DH kex (now there's a choice).
[u/mdw/putty] / sshsha.c
index b3860b6..1db5c26 100644 (file)
--- a/sshsha.c
+++ b/sshsha.c
@@ -217,7 +217,7 @@ static void sha1_final(void *handle, unsigned char *output)
 }
 
 const struct ssh_hash ssh_sha1 = {
-    sha1_init, sha1_bytes, sha1_final, 20
+    sha1_init, sha1_bytes, sha1_final, 20, "SHA-1"
 };
 
 /* ----------------------------------------------------------------------