diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | ssh.c | 6 |
2 files changed, 11 insertions, 4 deletions
@@ -1,3 +1,10 @@ | |||
1 | 20030516 | ||
2 | - (djm) OpenBSD CVS Sync | ||
3 | - djm@cvs.openbsd.org 2003/05/15 13:52:10 | ||
4 | [ssh.c] | ||
5 | Make "ssh -V" print the OpenSSL version in a human readable form. Patch | ||
6 | from Craig Leres (mindrot at ee.lbl.gov); ok markus@ | ||
7 | |||
1 | 20030515 | 8 | 20030515 |
2 | - (djm) OpenBSD CVS Sync | 9 | - (djm) OpenBSD CVS Sync |
3 | - jmc@cvs.openbsd.org 2003/05/14 13:11:56 | 10 | - jmc@cvs.openbsd.org 2003/05/14 13:11:56 |
@@ -1528,4 +1535,4 @@ | |||
1528 | save auth method before monitor_reset_key_state(); bugzilla bug #284; | 1535 | save auth method before monitor_reset_key_state(); bugzilla bug #284; |
1529 | ok provos@ | 1536 | ok provos@ |
1530 | 1537 | ||
1531 | $Id: ChangeLog,v 1.2723 2003/05/15 11:42:59 dtucker Exp $ | 1538 | $Id: ChangeLog,v 1.2724 2003/05/16 01:38:00 djm Exp $ |
@@ -40,7 +40,7 @@ | |||
40 | */ | 40 | */ |
41 | 41 | ||
42 | #include "includes.h" | 42 | #include "includes.h" |
43 | RCSID("$OpenBSD: ssh.c,v 1.192 2003/05/11 20:30:25 markus Exp $"); | 43 | RCSID("$OpenBSD: ssh.c,v 1.193 2003/05/15 13:52:10 djm Exp $"); |
44 | 44 | ||
45 | #include <openssl/evp.h> | 45 | #include <openssl/evp.h> |
46 | #include <openssl/err.h> | 46 | #include <openssl/err.h> |
@@ -357,11 +357,11 @@ again: | |||
357 | /* fallthrough */ | 357 | /* fallthrough */ |
358 | case 'V': | 358 | case 'V': |
359 | fprintf(stderr, | 359 | fprintf(stderr, |
360 | "%s, SSH protocols %d.%d/%d.%d, OpenSSL 0x%8.8lx\n", | 360 | "%s, SSH protocols %d.%d/%d.%d, %s\n", |
361 | SSH_VERSION, | 361 | SSH_VERSION, |
362 | PROTOCOL_MAJOR_1, PROTOCOL_MINOR_1, | 362 | PROTOCOL_MAJOR_1, PROTOCOL_MINOR_1, |
363 | PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, | 363 | PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, |
364 | SSLeay()); | 364 | SSLeay_version(SSLEAY_VERSION)); |
365 | if (opt == 'V') | 365 | if (opt == 'V') |
366 | exit(0); | 366 | exit(0); |
367 | break; | 367 | break; |