Browse Source

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>
process-exit-stdio-flushing
Sam Roberts 9 years ago
parent
commit
292033b1f5
  1. 4
      src/node_constants.cc

4
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

Loading…
Cancel
Save