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: nodejs#5463
  Reviewed-By: Fedor Indutny <fedor@indutny.com>

Backport-Of: nodejs#5463
PR-URL: nodejs#11002
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
sam-github authored and Trott committed Aug 1, 2017
1 parent 8c9f1b3 commit 9e97dbe
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 9e97dbe

Please sign in to comment.