summaryrefslogtreecommitdiffstats
path: root/kexdhs.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexdhs.c')
-rw-r--r--kexdhs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kexdhs.c b/kexdhs.c
index c3011f74..56aa5d03 100644
--- a/kexdhs.c
+++ b/kexdhs.c
@@ -25,6 +25,8 @@
#include "includes.h"
+#ifdef WITH_OPENSSL
+
#include <sys/types.h>
#include <stdarg.h>
@@ -158,3 +160,4 @@ kexdh_server(Kex *kex)
BN_clear_free(shared_secret);
kex_finish(kex);
}
+#endif /* WITH_OPENSSL */