Clean up w2k_lsa_auth linker parameters

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: None
    • Component/s: security-libs

      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.

            Assignee:
            Daniel Jelinski
            Reporter:
            Daniel Jelinski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: