help needed to bring Windows SecureChannel to dlang-requests

mw mingwu at
Mon Aug 24 07:27:14 UTC 2020

On Monday, 24 August 2020 at 07:22:45 UTC, ikod wrote:
> On Monday, 24 August 2020 at 07:11:14 UTC, mw wrote:
>> On Monday, 24 August 2020 at 06:28:26 UTC, ikod wrote:
>>> Also, will static linking work reliable? I'm open to return 
>>> back to static linking if this can be confirmed: 1) static
>> static link means the generated exe will physically contain 
>> all the binary code which is pulled in from the static OpenSSL 
>> lib, and the exe will not depends on any other external files.
>> E.g. if the exe is linked with 1.1 OpenSSL static lib, even 
>> the user's machine only has 1.0 OpenSSL dll, it has nothing to 
>> do with the generated exe, won't affect its running.
>>> linking will work ok for third-party packages installed on 
>>> Windows, 2) with dub I can at compile time detect openssl 
>>> version installed in system
> Yes, but I'm not distribute .exe, I'm distribute sources of the 
> library which have to be compiled on the target machine.

Just tell your library user also use static linking (and with the 
OpenSSL version you provided).

Actually I don't know what your worry is.

More information about the Digitalmars-d mailing list