summaryrefslogtreecommitdiffstats
path: root/bufec.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2014-08-26 08:37:47 +1000
committerDamien Miller <djm@mindrot.org>2014-08-26 08:37:47 +1000
commited126de8ee04c66640a0ea2697c4aaf36801f100 (patch)
treefa2931646ef5938c8f99e7010a485626a866a254 /bufec.c
parent9c1dede005746864a4fdb36a7cdf6c51296ca909 (diff)
- (djm) [bufec.c] Skip this file on !ECC OpenSSL
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 127e56d4..749ce9d4 100644
--- a/bufec.c
+++ b/bufec.c
@@ -26,6 +26,8 @@
#include "log.h"
#include "ssherr.h"
+#ifdef OPENSSL_HAS_ECC
+
int
buffer_put_ecpoint_ret(Buffer *buffer, const EC_GROUP *curve,
const EC_POINT *point)
@@ -68,4 +70,5 @@ buffer_get_ecpoint(Buffer *buffer, const EC_GROUP *curve,
fatal("%s: buffer error", __func__);
}
+#endif /* OPENSSL_HAS_ECC */