summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ssh.c2
-rw-r--r--sshd.c4
-rw-r--r--version.h5
4 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index e1cf4153f..714591df6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
3 No change in resultant binary 3 No change in resultant binary
4 - (djm) [loginrec.c] __func__ifiy 4 - (djm) [loginrec.c] __func__ifiy
5 - (djm) [loginrec.c] xmalloc 5 - (djm) [loginrec.c] xmalloc
6 - (djm) [ssh.c sshd.c version.h] Don't divulge portable version in protocol
7 banner. Suggested by deraadt@, ok mouring@, dtucker@
6 8
720040911 920040911
8 - (djm) [ssh-agent.c] unifdef some cygwin code; ok dtucker@ 10 - (djm) [ssh-agent.c] unifdef some cygwin code; ok dtucker@
@@ -1740,4 +1742,4 @@
1740 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 1742 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
1741 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 1743 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
1742 1744
1743$Id: ChangeLog,v 1.3550 2004/09/12 05:26:00 djm Exp $ 1745$Id: ChangeLog,v 1.3551 2004/09/12 06:53:04 djm Exp $
diff --git a/ssh.c b/ssh.c
index e69d73807..6f0ba26ad 100644
--- a/ssh.c
+++ b/ssh.c
@@ -319,7 +319,7 @@ again:
319 /* fallthrough */ 319 /* fallthrough */
320 case 'V': 320 case 'V':
321 fprintf(stderr, "%s, %s\n", 321 fprintf(stderr, "%s, %s\n",
322 SSH_VERSION, SSLeay_version(SSLEAY_VERSION)); 322 SSH_RELEASE, SSLeay_version(SSLEAY_VERSION));
323 if (opt == 'V') 323 if (opt == 'V')
324 exit(0); 324 exit(0);
325 break; 325 break;
diff --git a/sshd.c b/sshd.c
index 2a28ece03..4b2d10af9 100644
--- a/sshd.c
+++ b/sshd.c
@@ -774,7 +774,7 @@ static void
774usage(void) 774usage(void)
775{ 775{
776 fprintf(stderr, "%s, %s\n", 776 fprintf(stderr, "%s, %s\n",
777 SSH_VERSION, SSLeay_version(SSLEAY_VERSION)); 777 SSH_RELEASE, SSLeay_version(SSLEAY_VERSION));
778 fprintf(stderr, 778 fprintf(stderr,
779"usage: sshd [-46Ddeiqt] [-b bits] [-f config_file] [-g login_grace_time]\n" 779"usage: sshd [-46Ddeiqt] [-b bits] [-f config_file] [-g login_grace_time]\n"
780" [-h host_key_file] [-k key_gen_time] [-o option] [-p port] [-u len]\n" 780" [-h host_key_file] [-k key_gen_time] [-o option] [-p port] [-u len]\n"
@@ -1081,7 +1081,7 @@ main(int ac, char **av)
1081 exit(1); 1081 exit(1);
1082 } 1082 }
1083 1083
1084 debug("sshd version %.100s", SSH_VERSION); 1084 debug("sshd version %.100s", SSH_RELEASE);
1085 1085
1086 /* load private host keys */ 1086 /* load private host keys */
1087 sensitive_data.host_keys = xmalloc(options.num_host_key_files * 1087 sensitive_data.host_keys = xmalloc(options.num_host_key_files *
diff --git a/version.h b/version.h
index aae2c3b37..d0c867b87 100644
--- a/version.h
+++ b/version.h
@@ -1,3 +1,6 @@
1/* $OpenBSD: version.h,v 1.42 2004/08/16 08:17:01 markus Exp $ */ 1/* $OpenBSD: version.h,v 1.42 2004/08/16 08:17:01 markus Exp $ */
2 2
3#define SSH_VERSION "OpenSSH_3.9p1" 3#define SSH_VERSION "OpenSSH_3.9"
4
5#define SSH_PORTABLE "p1"
6#define SSH_RELEASE SSH_VERSION SSH_PORTABLE