From 6e453fad87c51dc15327628aa75886d3fbb3fa1c Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Wed, 27 Aug 2014 18:01:01 +0400 Subject: crypto: introduce ECDH --- src/node_constants.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/node_constants.cc') diff --git a/src/node_constants.cc b/src/node_constants.cc index 430a09c685..118824e95d 100644 --- a/src/node_constants.cc +++ b/src/node_constants.cc @@ -33,6 +33,7 @@ #include #if HAVE_OPENSSL +# include # include # ifndef OPENSSL_NO_ENGINE # include @@ -974,6 +975,13 @@ void DefineOpenSSLConstants(Handle target) { #ifdef RSA_PKCS1_PSS_PADDING NODE_DEFINE_CONSTANT(target, RSA_PKCS1_PSS_PADDING); #endif + + // 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); } void DefineSystemConstants(Handle target) { -- cgit v1.2.3