Bug#450903: libocamlnet-ssl-ocaml: segfault on custom ssl bindings
Stefano Zacchiroli a écrit :
>> While playing with the ssl_client.ml example, I ended up correcting two
>> issues:
>> * ssl_client.ml must use:
>> let cl_ctx = Ssl.create_context Ssl.TLSv1 Ssl.Client_context in
>> to use the correct function from ocaml-ssl
>> * The example segfaulted..
>
> Can you please provide the example, so that we can test the fix?
The example is in ocamlnet source, at location:
examples/equeue/ssl/ssl_client.ml
I reproduced the bug, and checked that the fix works. I contacted Gerd
Stolpmann about this (he is CC of this mail, and I also talked to him in
real life). Meanwhile, I've commited it in the svn.
--
Stéphane
Reply to: