aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ConfigureChecks.cmake3
-rw-r--r--config.h.cmake4
2 files changed, 7 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 197ae21d..80ab7599 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -85,6 +85,9 @@ if (HAVE_OPENSSL_EC_H AND HAVE_OPENSSL_ECDSA_H)
set(HAVE_OPENSSL_ECC 1)
endif (HAVE_OPENSSL_EC_H AND HAVE_OPENSSL_ECDSA_H)
+if (HAVE_OPENSSL_ECC)
+ set(HAVE_ECC 1)
+endif (HAVE_OPENSSL_ECC)
# FUNCTIONS
check_function_exists(strncpy HAVE_STRNCPY)
diff --git a/config.h.cmake b/config.h.cmake
index 334e8459..67a6b204 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -47,8 +47,12 @@
/* Define to 1 if you have the <pthread.h> header file. */
#cmakedefine HAVE_PTHREAD_H 1
+/* Define to 1 if you have eliptic curve cryptography in openssl */
#cmakedefine HAVE_OPENSSL_ECC 1
+/* Define to 1 if you have eliptic curve cryptography */
+#cmakedefine HAVE_ECC 1
+
/*************************** FUNCTIONS ***************************/
/* Define to 1 if you have the `snprintf' function. */