Am 27.12.2013 13:19, schrieb Stephan Dilly:> On Fri, 27 Dec 2013 13:05:39 +0100, Sönke Ludwig wrote:

Am 27.12.2013 12:46, schrieb Stephan Dilly:

(...)

Now it prints:

ERR: 'error:140C5042:SSL routines:SSL_UNDEFINED_FUNCTION:called a function you should not call                                '
object.Exception@C:\Users\Stephan\AppData\Roaming\dub\packages\vibe-d-0.7.18\source\vibe\stream\ssl.d(231): Failed to connect SSL tunnel.: 5

Any ideas ??

Oh okay, I see. The SSLContext constructor(s) need(s) to be adjusted
with an additional argument that determines the client/server mode (so
that it can be instantiated with XX_client_method() instead of
XX_server_method().

I'll also incorporate the ERR_error_string code (the code obviously
assumed that SSL_get_error returns a const(char)*).

Aaaand I am on git-head again ;)

Sorry 'bout that ;) At least a new release should be out soon.

Thanks in advance!

Done now: b8e75f2

It also still badly needs some code for enabling/customizing certificate validation and for customizing the cypher suite (e.g. to prefer/require perfect forward security and secure encryption algorithms).

And a late merry xmas !!

Thanks, giving that back! And also a "good slide into next year" ;)