summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-02-12 11:04:48 +1100
committerDamien Miller <djm@mindrot.org>2013-02-12 11:04:48 +1100
commit22e8a1e1695f1c8179cea61ac63b2fdd4b11f2d7 (patch)
treea1b49ac1ff7a2ddf47d85ce85f32d7da213de1ae /sshd.c
parent894926ebd8cc3d6651ad1a3a1269a60ef127cd44 (diff)
- dtucker@cvs.openbsd.org 2013/02/11 21:21:58
[sshd.c] Add openssl version to debug output similar to the client. ok markus@
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sshd.c b/sshd.c
index af7ff91ba..3e9d17640 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshd.c,v 1.396 2012/11/04 11:09:15 djm Exp $ */ 1/* $OpenBSD: sshd.c,v 1.397 2013/02/11 21:21:58 dtucker Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1596,7 +1596,8 @@ main(int ac, char **av)
1596 exit(1); 1596 exit(1);
1597 } 1597 }
1598 1598
1599 debug("sshd version %.100s", SSH_RELEASE); 1599 debug("sshd version %s, %s", SSH_VERSION,
1600 SSLeay_version(SSLEAY_VERSION));
1600 1601
1601 /* Store privilege separation user for later use if required. */ 1602 /* Store privilege separation user for later use if required. */
1602 if ((privsep_pw = getpwnam(SSH_PRIVSEP_USER)) == NULL) { 1603 if ((privsep_pw = getpwnam(SSH_PRIVSEP_USER)) == NULL) {