summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-keyscan.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2019-09-06 05:23:55 +0000
committerdjm <djm@openbsd.org>2019-09-06 05:23:55 +0000
commit1f96526fb0deff53898d266d4e2e399e64e301ef (patch)
tree97f4b05f2b48e51c0d3734edbd9464b42cb9ed34 /usr.bin/ssh/ssh-keyscan.c
parentlots of things were relying on libcrypto headers to transitively (diff)
downloadwireguard-openbsd-1f96526fb0deff53898d266d4e2e399e64e301ef.tar.xz
wireguard-openbsd-1f96526fb0deff53898d266d4e2e399e64e301ef.zip
fixes for !WITH_OPENSSL compilation; ok dtucker@
Diffstat (limited to 'usr.bin/ssh/ssh-keyscan.c')
-rw-r--r--usr.bin/ssh/ssh-keyscan.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh-keyscan.c b/usr.bin/ssh/ssh-keyscan.c
index 7dba318a082..1f52cf7aad1 100644
--- a/usr.bin/ssh/ssh-keyscan.c
+++ b/usr.bin/ssh/ssh-keyscan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keyscan.c,v 1.129 2019/07/12 04:08:39 djm Exp $ */
+/* $OpenBSD: ssh-keyscan.c,v 1.130 2019/09/06 05:23:55 djm Exp $ */
/*
* Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
*
@@ -13,7 +13,9 @@
#include <sys/time.h>
#include <sys/resource.h>
+#ifdef WITH_OPENSSL
#include <openssl/bn.h>
+#endif
#include <errno.h>
#include <netdb.h>