summaryrefslogtreecommitdiffstats
path: root/kexdhc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexdhc.c')
-rw-r--r--kexdhc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kexdhc.c b/kexdhc.c
index f7a19fc1..53c3d9bc 100644
--- a/kexdhc.c
+++ b/kexdhc.c
@@ -25,6 +25,8 @@
#include "includes.h"
+#ifdef WITH_OPENSSL
+
#include <sys/types.h>
#include <openssl/dh.h>
@@ -159,3 +161,4 @@ kexdh_client(Kex *kex)
BN_clear_free(shared_secret);
kex_finish(kex);
}
+#endif /* WITH_OPENSSL */