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 <[email protected]>

Backport-Of: #5463
PR-URL: #11002
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
sam-github authored and MylesBorins committed Mar 21, 2017
1 parent 89a83a5 commit e53154a
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 e53154a

Please sign in to comment.