Skip to content

Commit

Permalink
constants: define ENGINE_METHOD_RSA
Browse files Browse the repository at this point in the history
constants.ENGINE_METHOD_RSA was documented, but not implemented.

PR-URL: #5463
Reviewed-By: Fedor Indutny <fedor@indutny.com>
  • Loading branch information
sam-github authored and Fishrock123 committed Mar 8, 2016
1 parent e572e42 commit 9db827c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/node_constants.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9db827c

Please sign in to comment.