Re: openssl 1.1 vs. 3.0 for vibe.d:tls on Ubuntu 22.04

2023-12-12 Thread janrinok via Digitalmars-d-learn

On Friday, 28 July 2023 at 08:56:17 UTC, Guillaume Lathoud wrote:

Hello, some context first:

I recently updated a server to Ubuntu 22.04 which appears to 
have only openssl 3.0.2 installed. Dub could compile my 
project, but could not link it anymore, as the D code seemed to 
be expecting openssl 1.1 whereas only 3.0.2 was installed. That 
type of errors:

```
/usr/bin/ld: 
./vibe-d-0.9.6/vibe-d/tls/vibe/stream/openssl.d:370: 
undefined reference to `SSL_get_peer_certificate'
/usr/bin/ld: 
./vibe-d-0.9.6/vibe-d/tls/vibe/stream/openssl.d:1485: 
undefined reference to `ERR_put_error'

collect2: error: ld returned 1 exit status
```
I tried various things, including all possible 
`subConfiguration` values for `vibe-d:tls`, and ended up:


[...]


Did you ever get this problem resolved?  I have just found the 
same issue and cannot get vibe.d to compile cleanly - it reports 
"Invalid variable: DC" when trying to compile "openssl-static": 
"1.0.2+3.0.8",


Re: Example of Windows SSL with Secure Channel?

2022-03-27 Thread janrinok via Digitalmars-d-learn

On Monday, 21 March 2022 at 17:30:31 UTC, Marcone wrote:
I hope one day the creators of the D programming language will 
implement std.socket.ssl ​​in the Phobos library.
I have to agree.  For those just getting to grips with D there 
are some things in the library that just make using them much 
more difficult than they ought to be, or altogether impossible.