built curl 7.23.1 with gnutls 3.08 for win32 (mingw). There seems to
be a problem with https:
curl.exe -k https://www.google.com
curl: (35) gnutls_handshake() failed: A TLS packet with unexpected
length was received.
In contrast, sftp seems to work fine.
Curl 7.23.1 with gnutls 3.08 on linux does not have this problem.
The handshake works when using gnutls-cli:
gnutls-cli.exe --insecure -p 443 www.google.com
I submitted a patch to fix this:
http://permalink.gmane.org/gmane.comp.web.curl.library/33854
Thanks for the report, this problem is now fixed in the git repository.
To try it out, you either checkout/update your git clone: http://curl.haxx.se/source.html
or you try tomorrow's daily snapshot: http://curl.haxx.se/snapshots/