aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/ecdh.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/ecdh.h')
-rw-r--r--include/libssh/ecdh.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libssh/ecdh.h b/include/libssh/ecdh.h
index 9f94d69c..66659b85 100644
--- a/include/libssh/ecdh.h
+++ b/include/libssh/ecdh.h
@@ -37,6 +37,10 @@
#define HAVE_ECDH 1
#endif
+#ifdef HAVE_LIBMBEDCRYPTO
+#define HAVE_ECDH 1
+#endif
+
/* Common functions. */
int ssh_client_ecdh_reply(ssh_session session, ssh_buffer packet);