From 7ecdc3e0d5660ae573e24fd8ff557c94bcdb9d4f Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 27 Nov 2013 17:38:21 +0100 Subject: ecdh: Check if we have ECC support. --- include/libssh/ecdh.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/libssh/ecdh.h') diff --git a/include/libssh/ecdh.h b/include/libssh/ecdh.h index b35b2af7..8d1e7515 100644 --- a/include/libssh/ecdh.h +++ b/include/libssh/ecdh.h @@ -26,7 +26,9 @@ #ifdef HAVE_LIBCRYPTO #ifdef HAVE_OPENSSL_ECDH_H -#define HAVE_ECDH +#ifdef HAVE_ECC +#define HAVE_ECDH 1 +#endif #endif /* HAVE_OPENSSL_ECDH_H */ #endif /* HAVE_LIBCRYPTO */ -- cgit