Skip to content

Commit

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

  PR-URL: #5463
  Reviewed-By: Fedor Indutny <fedor@indutny.com>

Backport-Of: #5463
PR-URL: #11002
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
sam-github authored and MylesBorins committed Apr 4, 2017
1 parent ee7552e commit 951121f
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 951121f

Please sign in to comment.