[Help-gnutls] Re: Windows: gnutls-cli 2.7.3 doesn't work

Simon Josefsson simon at josefsson.org
Mon Feb 2 09:57:49 CET 2009

Magnus Henoch <magnus.henoch at gmail.com> writes:

> Hi,
> I'm using the Windows version of GnuTLS from
> http://josefsson.org/gnutls4win/ to connect to Google Talk.  I found
> that version 2.6.3 works, but version 2.7.3 doesn't.
> c:/program files/GnuTLS-2.7.3 $ bin/gnutls-cli.exe  -p 5223 talk.google.com
> Resolving 'talk.google.com'...
> Connecting to ''...
> *** Fatal error: Error in the push function.
> *** Handshake has failed
> GNUTLS ERROR: Error in the push function.
> I expect it to do what 2.6.3 does (see attachment).

This is a known (to me) problem with 2.7.x., it uses gnulib's new socket
code for Windows, but doesn't pass the proper fd to gnutls, so
reading/writing to the socket inside gnutls fails.  The solution has
been discussed on the gnulib list earlier, and is relatively simple.
I'll try to fix it, but will be quite busy this week so I may not find
time before FOSDEM.


More information about the Gnutls-help mailing list