www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - OprnSSL 3.0.0 first release version

reply zoujiaqing <zoujiaqing gmail.com> writes:
https://www.openssl.org/blog/blog/2020/04/23/OpenSSL3.0Alpha1/
How binding for it?
May 31 2020
parent reply mw <mingwu gmail.com> writes:
On Sunday, 31 May 2020 at 13:43:51 UTC, zoujiaqing wrote:
 https://www.openssl.org/blog/blog/2020/04/23/OpenSSL3.0Alpha1/
 How binding for it?
dpp? https://code.dlang.org/packages/dpp Disclaimer: I never used it, but saw it’s used here: https://github.com/ShigekiKarita/tfd Re-generate bindings tfd uses dpp to generate bindings from TF C-API. You need libclang to run dpp. dub fetch dpp dub run dpp -- --preprocess-only --include-path ./download/include <target dpp file>
May 31 2020
parent reply mw <mingwu gmail.com> writes:
On Sunday, 31 May 2020 at 20:48:39 UTC, mw wrote:
 On Sunday, 31 May 2020 at 13:43:51 UTC, zoujiaqing wrote:
 https://www.openssl.org/blog/blog/2020/04/23/OpenSSL3.0Alpha1/
 How binding for it?
dpp? https://code.dlang.org/packages/dpp
It actually listed there (for earlier ssl version I guess) Success stories Known project headers whose translations produce D code that compiles: ... openssl/ssl.h
May 31 2020
parent bauss <jj_1337 live.dk> writes:
On Sunday, 31 May 2020 at 20:56:32 UTC, mw wrote:
 On Sunday, 31 May 2020 at 20:48:39 UTC, mw wrote:
 On Sunday, 31 May 2020 at 13:43:51 UTC, zoujiaqing wrote:
 https://www.openssl.org/blog/blog/2020/04/23/OpenSSL3.0Alpha1/
 How binding for it?
dpp? https://code.dlang.org/packages/dpp
It actually listed there (for earlier ssl version I guess) Success stories Known project headers whose translations produce D code that compiles: ... openssl/ssl.h
While that is true they still had some errors afterwards (If I recall correctly about the openssl package.), while still compiling successfully. Wouldn't trust it entirely.
May 31 2020