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:
authorSam Roberts <sam@strongloop.com>2016-02-27 05:55:48 +0300
committerSam Roberts <sam@strongloop.com>2016-02-27 06:42:56 +0300
commit292033b1f598b6b957a7580e825f7139e7d35373 (patch)
treeb1241d8d06e42e8d6fe40e5182603055d19cd0d0 /src/node_constants.cc
parent67963c8c6643f0f6f406b0645814faf88f88b679 (diff)
constants: define ENGINE_METHOD_RSA
constants.ENGINE_METHOD_RSA was documented, but not implemented. PR-URL: https://github.com/nodejs/node/pull/5463 Reviewed-By: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'src/node_constants.cc')
-rw-r--r--src/node_constants.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/node_constants.cc b/src/node_constants.cc
index 1259f83697c..ed75b01fbf9 100644
--- a/src/node_constants.cc
+++ b/src/node_constants.cc
@@ -864,6 +864,10 @@ void DefineOpenSSLConstants(Local<Object> target) {
# ifndef OPENSSL_NO_ENGINE
+# ifdef ENGINE_METHOD_RSA
+ NODE_DEFINE_CONSTANT(target, ENGINE_METHOD_RSA);
+# endif
+
# ifdef ENGINE_METHOD_DSA
NODE_DEFINE_CONSTANT(target, ENGINE_METHOD_DSA);
# endif