summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sshconnect.c2
-rw-r--r--sshd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sshconnect.c b/sshconnect.c
index f8ebd9875..180da43cd 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -538,7 +538,7 @@ ssh_exchange_identification(void)
538 snprintf(buf, sizeof buf, "SSH-%d.%d-%.100s\n", 538 snprintf(buf, sizeof buf, "SSH-%d.%d-%.100s\n",
539 compat20 ? PROTOCOL_MAJOR_2 : PROTOCOL_MAJOR_1, 539 compat20 ? PROTOCOL_MAJOR_2 : PROTOCOL_MAJOR_1,
540 compat20 ? PROTOCOL_MINOR_2 : minor1, 540 compat20 ? PROTOCOL_MINOR_2 : minor1,
541 SSH_VERSION); 541 SSH_RELEASE);
542 if (atomicio(vwrite, connection_out, buf, strlen(buf)) != strlen(buf)) 542 if (atomicio(vwrite, connection_out, buf, strlen(buf)) != strlen(buf))
543 fatal("write: %.100s", strerror(errno)); 543 fatal("write: %.100s", strerror(errno));
544 client_version_string = xstrdup(buf); 544 client_version_string = xstrdup(buf);
diff --git a/sshd.c b/sshd.c
index a2e0e9320..416270e37 100644
--- a/sshd.c
+++ b/sshd.c
@@ -376,7 +376,7 @@ sshd_exchange_identification(int sock_in, int sock_out)
376 major = PROTOCOL_MAJOR_1; 376 major = PROTOCOL_MAJOR_1;
377 minor = PROTOCOL_MINOR_1; 377 minor = PROTOCOL_MINOR_1;
378 } 378 }
379 snprintf(buf, sizeof buf, "SSH-%d.%d-%.100s\n", major, minor, SSH_VERSION); 379 snprintf(buf, sizeof buf, "SSH-%d.%d-%.100s\n", major, minor, SSH_RELEASE);
380 server_version_string = xstrdup(buf); 380 server_version_string = xstrdup(buf);
381 381
382 /* Send our protocol version identification. */ 382 /* Send our protocol version identification. */