]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Paste error in comment.
authorSimon Tatham <anakin@pobox.com>
Mon, 27 Apr 2015 05:54:21 +0000 (06:54 +0100)
committerSimon Tatham <anakin@pobox.com>
Sat, 20 Jun 2015 08:39:14 +0000 (09:39 +0100)
SSH2_MSG_KEX_DH_GEX_REQUEST_OLD and SSH2_MSG_KEX_DH_GEX_REQUEST were
correctly _defined_ as different numbers, but the comments to the
right containing the hex representations of their values were
accidentally the same.

(cherry picked from commit a8658edb17a462da32499752810bd6c989159500)

ssh.h

diff --git a/ssh.h b/ssh.h
index e50fbca349ec08237851940ed306ef8b8c5d146d..a92add2fc8d96468bd43f5d55fa82401cc0e398c 100644 (file)
--- a/ssh.h
+++ b/ssh.h
@@ -721,7 +721,7 @@ void platform_ssh_share_cleanup(const char *name);
 #define SSH2_MSG_KEXDH_INIT                       30   /* 0x1e */
 #define SSH2_MSG_KEXDH_REPLY                      31   /* 0x1f */
 #define SSH2_MSG_KEX_DH_GEX_REQUEST_OLD           30   /* 0x1e */
-#define SSH2_MSG_KEX_DH_GEX_REQUEST               34   /* 0x1e */
+#define SSH2_MSG_KEX_DH_GEX_REQUEST               34   /* 0x22 */
 #define SSH2_MSG_KEX_DH_GEX_GROUP                 31   /* 0x1f */
 #define SSH2_MSG_KEX_DH_GEX_INIT                  32   /* 0x20 */
 #define SSH2_MSG_KEX_DH_GEX_REPLY                 33   /* 0x21 */