diff options
author | Isaac Burns <isaacburns@gmail.com> | 2014-08-29 23:47:42 +0400 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2014-09-01 19:30:13 +0400 |
commit | 53fc14c5691151d85e7a337e94202e84b004ab7c (patch) | |
tree | f9b8b71510acd818a5345c347bce8b308be26a88 /src/node_constants.cc | |
parent | f6877f37b216a955b41eb2b6ec10bf0d8510a024 (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.cc | 2 |
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) { |