Skip to content

Commit 292033b

Browse files
committed
constants: define ENGINE_METHOD_RSA
constants.ENGINE_METHOD_RSA was documented, but not implemented. PR-URL: #5463 Reviewed-By: Fedor Indutny <fedor@indutny.com>
1 parent 67963c8 commit 292033b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/node_constants.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -864,6 +864,10 @@ void DefineOpenSSLConstants(Local<Object> target) {
864864

865865
# ifndef OPENSSL_NO_ENGINE
866866

867+
# ifdef ENGINE_METHOD_RSA
868+
NODE_DEFINE_CONSTANT(target, ENGINE_METHOD_RSA);
869+
# endif
870+
867871
# ifdef ENGINE_METHOD_DSA
868872
NODE_DEFINE_CONSTANT(target, ENGINE_METHOD_DSA);
869873
# endif

0 commit comments

Comments
 (0)