Fixes for GnuTLS support on Win32. #528752, patch from Marc Maurer
authorDan Winship <danw@src.gnome.org>
Sun, 20 Apr 2008 23:11:54 +0000 (23:11 +0000)
committerDan Winship <danw@src.gnome.org>
Sun, 20 Apr 2008 23:11:54 +0000 (23:11 +0000)
commit1012ecb39d1081732ff5bb9f6911f8ea2a8a783a
tree7bf1b36ad81e6b5f235d6d7d821635e0392a2f9f
parentd60f365466271d1db404d7397c53de9407ffb8a3
Fixes for GnuTLS support on Win32. #528752, patch from Marc Maurer

* libsoup/soup-gnutls.c (soup_ssl_wrap_iochannel): add an argument
saying whether or not the socket is non-blocking, since there's no
way to determine this from the fd in WinSock.
(do_handshake, soup_gnutls_read, soup_gnutls_write): Update for
that.

* libsoup/soup-socket.c (soup_socket_start_proxy_ssl): Update for
that

* libsoup/soup-nossl.c (soup_ssl_wrap_iochannel): update the
declaration here too

* tests/ssl-test.c: Some updates to get this closer to working on
Windows...

svn path=/trunk/; revision=1137
ChangeLog
libsoup/soup-gnutls.c
libsoup/soup-nossl.c
libsoup/soup-socket.c
libsoup/soup-ssl.h
tests/ssl-test.c