Skip to content

Commit 9db827c

Browse files
sam-githubFishrock123
authored andcommitted
constants: define ENGINE_METHOD_RSA
constants.ENGINE_METHOD_RSA was documented, but not implemented. PR-URL: #5463 Reviewed-By: Fedor Indutny <[email protected]>
1 parent e572e42 commit 9db827c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/node_constants.cc

+4
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)