cURL / Mailing Lists / curl-library / Single Mail


Re: https problem using gnutls 3 on windows

From: Mark Brand <>
Date: Wed, 23 Nov 2011 16:36:15 +0100

>>> This looks like a GnuTLS problem to me... Mostly because the libcurl
>>> code for Windows and Linux is identical in the GnuTLS specific areas.
>> What about the fact that the handshake works using gnutls-cli.exe?:
>> gnutls-cli.exe --insecure -p 443
> That would indicate that the problem is triggered by something libcurl
> does that gnutls-cli doesn't do.

Thanks for confirming my suspicions.

> As I don't have windows,

I would have been disappointed otherwise.

> and I can't repeat the problem I can't help much. You *could* fire up
> your debugger and single-step some code and figure out where exactly
> it fails...

Gdb in Wine to the rescue. Turns out I was to blame for this [1].

Patch attached. Explanation is in the commit message.



Received on 2011-11-23