An Alternative to Deimos' OpenSSL Bindings

David Nadlinger via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jun 12 16:14:51 PDT 2016


On Sunday, 12 June 2016 at 21:49:21 UTC, Vladimir Panteleev wrote:
> On Sunday, 12 June 2016 at 19:12:37 UTC, Meta wrote:
>> I wanted to use OpenSSL from D but I noticed that the Deimos 
>> bindings are for version 1.0.0e, which according to 
>> OpenSSL.org is an out of date version. Are there any bindings 
>> for the latest version, or an alternative that I could use? I 
>> know I could use std.digest for SHA512, but I still need a 
>> secure random number generator.
>
> What's the problem? According to the OpenSSL changelog, SHA-512 
> was added in v0.9.8.

Just in case that isn't clear, what Vladimir is pointing out is 
that unless you need a feature from the new versions – or OpenSSL 
breaks binary compatibility, which is unlikely to happen anytime 
soon – the old headers will work just fine.

  — David


More information about the Digitalmars-d-learn mailing list