aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_pkey_ec.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-04-18 19:35:09 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-04-21 00:46:34 +0900
commit0c1e707d0072df557020d3936cca666ab00fd79c (patch)
treef235c555946da5ba91ef401257985dd1b5362fde /ext/openssl/ossl_pkey_ec.c
parent9344f792ebcd0d39506add6cbed726cf977b49cb (diff)
downloadruby-0c1e707d0072df557020d3936cca666ab00fd79c.tar.gz
fixing 0.9.7 build
Diffstat (limited to 'ext/openssl/ossl_pkey_ec.c')
-rw-r--r--ext/openssl/ossl_pkey_ec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/openssl/ossl_pkey_ec.c b/ext/openssl/ossl_pkey_ec.c
index 8218e714e3..e7b9c68b9b 100644
--- a/ext/openssl/ossl_pkey_ec.c
+++ b/ext/openssl/ossl_pkey_ec.c
@@ -4,7 +4,7 @@
#include "ossl.h"
-#if !defined(OPENSSL_NO_EC) && (OPENSSL_VERSION_NUMBER >= 0x0090802fL)
+#if defined(HAVE_SUPPORT_EC)
typedef struct {
EC_GROUP *group;
@@ -1698,8 +1698,8 @@ void Init_ossl_ec(void)
no_copy(cEC_POINT);
}
-#else /* defined NO_EC */
+#else /* SUPPORT_EC */
void Init_ossl_ec(void)
{
}
-#endif /* NO_EC */
+#endif /* !SUPPORT_EC */