[sshd.c]
     Add openssl version to debug output similar to the client.  ok markus@
This commit is contained in:
Damien Miller 2013-02-12 11:04:48 +11:00
parent 894926ebd8
commit 22e8a1e169
2 changed files with 6 additions and 2 deletions

View File

@ -49,6 +49,9 @@
record "Received disconnect" messages at ERROR rather than INFO priority,
since they are abnormal and result in a non-zero ssh exit status; patch
from Iain Morgan in bz#2057; ok dtucker@
- dtucker@cvs.openbsd.org 2013/02/11 21:21:58
[sshd.c]
Add openssl version to debug output similar to the client. ok markus@
20130211
- (djm) [configure.ac openbsd-compat/openssl-compat.h] Repair build on old

5
sshd.c
View File

@ -1,4 +1,4 @@
/* $OpenBSD: sshd.c,v 1.396 2012/11/04 11:09:15 djm Exp $ */
/* $OpenBSD: sshd.c,v 1.397 2013/02/11 21:21:58 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@ -1596,7 +1596,8 @@ main(int ac, char **av)
exit(1);
}
debug("sshd version %.100s", SSH_RELEASE);
debug("sshd version %s, %s", SSH_VERSION,
SSLeay_version(SSLEAY_VERSION));
/* Store privilege separation user for later use if required. */
if ((privsep_pw = getpwnam(SSH_PRIVSEP_USER)) == NULL) {