summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordtucker <dtucker@openbsd.org>2013-02-11 21:21:58 +0000
committerdtucker <dtucker@openbsd.org>2013-02-11 21:21:58 +0000
commitb7caae80feb5f35b666b818ea0dc9e57f59a4743 (patch)
treed9c84bcf4c84e4138ff7563230f6e9a7ebfeeda8
parentsync (diff)
downloadwireguard-openbsd-b7caae80feb5f35b666b818ea0dc9e57f59a4743.tar.xz
wireguard-openbsd-b7caae80feb5f35b666b818ea0dc9e57f59a4743.zip
Add openssl version to debug output similar to the client. ok markus@
-rw-r--r--usr.bin/ssh/sshd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c
index d3f53c0fd05..b01785c9b08 100644
--- a/usr.bin/ssh/sshd.c
+++ b/usr.bin/ssh/sshd.c
@@ -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
@@ -1527,7 +1527,8 @@ main(int ac, char **av)
exit(1);
}
- debug("sshd version %.100s", SSH_VERSION);
+ debug("sshd version %s, %s", SSH_VERSION,
+ SSLeay_version(SSLEAY_VERSION));
/* load private host keys */
sensitive_data.host_keys = xcalloc(options.num_host_key_files,