Log the hash used for DH kex (now there's a choice).
[u/mdw/putty] / ssh.c
diff --git a/ssh.c b/ssh.c
index 60ddefc..ba3dfad 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -5519,7 +5519,8 @@ static int do_ssh2_transport(Ssh ssh, void *vin, int inlen,
                  ssh->kex->groupname);
     }
 
-    logevent("Doing Diffie-Hellman key exchange");
+    logeventf(ssh, "Doing Diffie-Hellman key exchange with hash %s",
+             ssh->kex->hash->text_name);
     /*
      * Now generate and send e for Diffie-Hellman.
      */