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>
pull/5463/head
Sam Roberts 2016-02-26 18:55:48 -08:00
parent 67963c8c66
commit 292033b1f5
1 changed files with 4 additions and 0 deletions

View File

@ -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