summarylogtreecommitdiffstats
path: root/hpn-banner.patch
blob: 2dec50a1ecebe21b483e327bdb57a4a1d5a5c4ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/kex.c b/kex.c
index 31b06e17..a0a4647d 100644
--- a/kex.c
+++ b/kex.c
@@ -1156,7 +1156,7 @@ kex_exchange_identification(struct ssh *ssh, int timeout_ms,
 	if (version_addendum != NULL && *version_addendum == '\0')
 		version_addendum = NULL;
 	if ((r = sshbuf_putf(our_version, "SSH-%d.%d-%.100s%s%s\r\n",
-	   PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION,
+	   PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE,
 	    version_addendum == NULL ? "" : " ",
 	    version_addendum == NULL ? "" : version_addendum)) != 0) {
 		error("%s: sshbuf_putf: %s", __func__, ssh_err(r));