summaryrefslogtreecommitdiff
path: root/bufec.c
diff options
context:
space:
mode:
Diffstat (limited to 'bufec.c')
-rw-r--r--bufec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bufec.c b/bufec.c
index c77d1ecb..3dcb4947 100644
--- a/bufec.c
+++ b/bufec.c
@@ -17,6 +17,8 @@
#include "includes.h"
+#ifdef OPENSSL_HAS_ECC
+
#include <sys/types.h>
#include <openssl/bn.h>
@@ -141,3 +143,4 @@ buffer_get_ecpoint(Buffer *buffer, const EC_GROUP *curve,
fatal("%s: buffer error", __func__);
}
+#endif /* OPENSSL_HAS_ECC */