summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2004-09-12 16:53:04 +1000
committerDamien Miller <djm@mindrot.org>2004-09-12 16:53:04 +1000
commit2aa6d3cfce738f57c31ae676e11399382bd5660e (patch)
tree41a4e45d88232a9259523bdaf2ed465e5ac77459 /ssh.c
parentb0aae333fdecf769da6e693e63d6905713bc0fe6 (diff)
- (djm) [ssh.c sshd.c version.h] Don't divulge portable version in protocol
banner. Suggested by deraadt@, ok mouring@, dtucker@
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c2
1 files changed, 1 insertions, 1 deletions
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;