Bug#450903: libocamlnet-ssl-ocaml: segfault on custom ssl bindings
Hi,
Stefano Zacchiroli wrote:
> On Mon, Nov 12, 2007 at 02:56:34AM +0100, Romain Beauxis wrote:
>> 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?
>
>> After some introspection, helped by Sam, we found out that the package
>> ships its custom ssl extra-bindings.
>> These are out-of-date and caused the segfault.
>
> Out-of-date respect what?
AFAIR some code from the C headers of ocaml-ssl was copied into
ocamlnet-ssl but unfortunately I changed these definitions later in
ocaml-ssl and the disparity between the two libs was leading to a SEGV
in ocamlnet-ssl.
Cheers,
Samuel.
Reply to: