-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MD5 symbols missing from Windows library #45445
Comments
That's because the That could be fixed by adding It's probably better to use the EVP interface, diff --git a/node.gyp b/node.gyp
index a22af3b479a..07a7cbd5536 100644
--- a/node.gyp
+++ b/node.gyp
@@ -823,7 +823,8 @@
'-CAES,BF,BIO,DES,DH,DSA,EC,ECDH,ECDSA,ENGINE,EVP,HMAC,MD4,MD5,'
'PSK,RC2,RC4,RSA,SHA,SHA0,SHA1,SHA256,SHA512,SOCK,STDIO,TLSEXT,'
'UI,FP_API,TLS1_METHOD,TLS1_1_METHOD,TLS1_2_METHOD,SCRYPT,OCSP,'
- 'NEXTPROTONEG,RMD160,CAST,DEPRECATEDIN_1_1_0,DEPRECATEDIN_1_2_0',
+ 'NEXTPROTONEG,RMD160,CAST,DEPRECATEDIN_1_1_0,DEPRECATEDIN_1_2_0,'
+ 'DEPRECATEDIN_3_0',
# Defines.
'-DWIN32',
# Symbols to filter from the export list. |
The code that's using it is not mine, it's in a library. Looking at it another way, that's 1,000+ incompatibilities between Node.js on Windows and other platforms :D, and compiling on Windows is already painful. |
You're welcome to open a pull request and see how it's received. libopenssl.a is exported with |
Version
v18.12.1
Platform
Microsoft Windows NT 10.0.22000.0 x64
Subsystem
No response
What steps will reproduce the bug?
node-gyp rebuild
on Windowsmd5.c:
binding.gyp:
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior?
Builds successfully as it does on other platforms (and Node.js 16 on Windows).
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: