Use NSS_InitReadWrite(). (soup_nss_get_iochannel): set SSL_BadCertHook().
authorAlex Graveley <alex@ximian.com>
Sat, 12 May 2001 00:00:08 +0000 (00:00 +0000)
committeralex <alex>
Sat, 12 May 2001 00:00:08 +0000 (00:00 +0000)
2001-05-11  Alex Graveley  <alex@ximian.com>

* src/soup-core/soup-nss.c (soup_nss_init): Use NSS_InitReadWrite().
(soup_nss_get_iochannel): set SSL_BadCertHook().

ChangeLog
libsoup/soup-ssl-proxy.c

index 7316b8f..9a276c2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-11  Alex Graveley  <alex@ximian.com>
+
+       * src/soup-core/soup-nss.c (soup_nss_init): Use NSS_InitReadWrite().
+       (soup_nss_get_iochannel): set SSL_BadCertHook().
+
 2001-05-10  Alex Graveley  <alex@ximian.com>
 
        * src/soup-core/soup-queue.c (soup_finish_read): set
index 72ed8af..8f44e94 100644 (file)
@@ -116,6 +116,8 @@ soup_ssl_proxy_readwrite (GIOChannel   *iochannel,
 
        if (error != G_IO_ERROR_NONE || bytes_read == 0) goto FINISH;
 
+       errno = 0;
+
        while (write_total != bytes_read) {
                error = g_io_channel_write (dest, 
                                            &read_buf [write_total],