Bugzilla – Attachment 352 Details for
Bug 610
sshd should display the openssl version string from usage()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Make sshd's -V like ssh's
openssh-sshd_usage.patch (text/plain), 1.08 KB, created by
Darren Tucker
on 2003-07-01 20:12:18 AEST
(
hide
)
Description:
Make sshd's -V like ssh's
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2003-07-01 20:12:18 AEST
Size:
1.08 KB
patch
obsolete
>Index: sshd.c >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/sshd.c,v >retrieving revision 1.250 >diff -u -r1.250 sshd.c >--- sshd.c 28 Jun 2003 02:38:02 -0000 1.250 >+++ sshd.c 1 Jul 2003 08:57:33 -0000 >@@ -838,7 +838,7 @@ > initialize_server_options(&options); > > /* Parse command-line arguments. */ >- while ((opt = getopt(ac, av, "f:p:b:k:h:g:V:u:o:dDeiqtQ46")) != -1) { >+ while ((opt = getopt(ac, av, "f:p:b:k:h:g:u:o:dDeiqtQV46")) != -1) { > switch (opt) { > case '4': > IPv4or6 = AF_INET; >@@ -910,9 +910,14 @@ > options.host_key_files[options.num_host_key_files++] = optarg; > break; > case 'V': >- client_version_string = optarg; >- /* only makes sense with inetd_flag, i.e. no listen() */ >- inetd_flag = 1; >+ fprintf(stderr, >+ "%s, SSH protocols %d.%d/%d.%d, %s\n", >+ SSH_VERSION, >+ PROTOCOL_MAJOR_1, PROTOCOL_MINOR_1, >+ PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, >+ SSLeay_version(SSLEAY_VERSION)); >+ if (opt == 'V') >+ exit(0); > break; > case 't': > test_flag = 1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 610
:
349
|
350
| 352