summaryrefslogtreecommitdiffstats
path: root/kex.h
diff options
context:
space:
mode:
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/kex.h b/kex.h
index f9e79994..81c41342 100644
--- a/kex.h
+++ b/kex.h
@@ -29,6 +29,17 @@
#ifndef KEX_H
#define KEX_H
+#include "config.h"
+
+#ifdef HAVE_OPENSSL
+# include <openssl/bn.h>
+# include <openssl/evp.h>
+#endif
+#ifdef HAVE_SSL
+# include <ssl/bn.h>
+# include <ssl/evp.h>
+#endif
+
#define KEX_DH1 "diffie-hellman-group1-sha1"
#define KEX_DSS "ssh-dss"