help needed to bring Windows SecureChannel to dlang-requests
Jacob Carlborg
doob at me.com
Mon Aug 24 09:59:38 UTC 2020
On Monday, 24 August 2020 at 06:28:26 UTC, ikod wrote:
> I use dynamic linking because at OpenSSL have interface
> incompatibilities between version 1.0 and 1.1, and at the time
> of transition between these versions there were no clean and
> reliable way for dub to detect which version installed in
> system (so I was unable to select proper openssl calls at
> compile time). So I decided to load library dynamicaly and
> check which interfaces available during runtime. Here is
> details: https://github.com/ikod/dlang-requests/issues/45
>
> Also, will static linking work reliable? I'm open to return
> back to static linking if this can be confirmed: 1) static
> 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
If you provide an OpenSSL library in the Git repository you know
exactly which version it is and which interface it provides.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list