summaryrefslogtreecommitdiff
path: root/kexecdh.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexecdh.c')
-rw-r--r--kexecdh.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kexecdh.c b/kexecdh.c
index f59d7b90..4c58a512 100644
--- a/kexecdh.c
+++ b/kexecdh.c
@@ -26,6 +26,8 @@
#include "includes.h"
+#ifdef OPENSSL_HAS_ECC
+
#include <sys/types.h>
#include <signal.h>
@@ -116,3 +118,4 @@ kex_ecdh_hash(
*hashlen = EVP_MD_size(evp_md);
}
+#endif /* OPENSSL_HAS_ECC */