Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac Burns <isaacburns@gmail.com>2014-08-29 23:47:42 +0400
committerFedor Indutny <fedor@indutny.com>2014-09-01 19:30:13 +0400
commit53fc14c5691151d85e7a337e94202e84b004ab7c (patch)
treef9b8b71510acd818a5345c347bce8b308be26a88 /src/node_constants.cc
parentf6877f37b216a955b41eb2b6ec10bf0d8510a024 (diff)
crypto: wrap ECDH constants in HAVE_OPENSSL
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'src/node_constants.cc')
-rw-r--r--src/node_constants.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node_constants.cc b/src/node_constants.cc
index 118824e95df..45840d8653e 100644
--- a/src/node_constants.cc
+++ b/src/node_constants.cc
@@ -976,12 +976,14 @@ void DefineOpenSSLConstants(Handle<Object> target) {
NODE_DEFINE_CONSTANT(target, RSA_PKCS1_PSS_PADDING);
#endif
+#if HAVE_OPENSSL
// NOTE: These are not defines
NODE_DEFINE_CONSTANT(target, POINT_CONVERSION_COMPRESSED);
NODE_DEFINE_CONSTANT(target, POINT_CONVERSION_UNCOMPRESSED);
NODE_DEFINE_CONSTANT(target, POINT_CONVERSION_HYBRID);
+#endif
}
void DefineSystemConstants(Handle<Object> target) {