-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b13
-
windows
w2k_lsa_auth links to Winsock version 1 (wsock32.lib) to get htonl function. Winsock 1 is obsolete, and most functions (including htonl) are just proxied to v2 (ws2_32.lib). We should use the new lib to avoid loading WSOCK32.dll at runtime.
Additionally, w2k_lsa_auth imports many more libs than necessary. I verified the list of imports using dumpbin /imports, and only advapi32, secur32, kernel32 and winsock are needed. The remaining libs can be dropped.
Additionally, w2k_lsa_auth imports many more libs than necessary. I verified the list of imports using dumpbin /imports, and only advapi32, secur32, kernel32 and winsock are needed. The remaining libs can be dropped.