+2007-10-08 Dan Winship <danw@gnome.org>
+
+ * libsoup/soup-nossl.c: Update for current soup-ssl.h prototypes
+
+ * tests/proxy-test.c (run_test): wrap https tests in #if HAVE_SSL
+
2007-10-05 Dan Winship <danw@gnome.org>
* configure.in: 2.2.101
GIOChannel *
soup_ssl_wrap_iochannel (GIOChannel *sock, SoupSSLType type,
- const char *hostname, gpointer cred_pointer)
+ const char *hostname, SoupSSLCredentials *creds)
{
return NULL;
}
-gpointer
+SoupSSLCredentials *
soup_ssl_get_client_credentials (const char *ca_file)
{
return NULL;
}
void
-soup_ssl_free_client_credentials (gpointer client_creds)
+soup_ssl_free_client_credentials (SoupSSLCredentials *client_creds)
{
;
}
-gpointer
+SoupSSLCredentials *
soup_ssl_get_server_credentials (const char *cert_file, const char *key_file)
{
return NULL;
}
void
-soup_ssl_free_server_credentials (gpointer server_creds)
+soup_ssl_free_server_credentials (SoupSSLCredentials *server_creds)
{
;
}
https_url = g_strconcat (HTTPS_SERVER, tests[i].url, NULL);
}
test_url (http_url, SIMPLE_PROXY, tests[i].final_status, sync);
+#if HAVE_SSL
test_url (https_url, SIMPLE_PROXY, tests[i].final_status, sync);
+#endif
test_url (http_url, AUTH_PROXY, tests[i].final_status, sync);
+#if HAVE_SSL
test_url (https_url, AUTH_PROXY, tests[i].final_status, sync);
+#endif
test_url (http_url, UNAUTH_PROXY, tests[i].final_status, sync);
+#if HAVE_SSL
test_url (https_url, UNAUTH_PROXY, tests[i].final_status, sync);
+#endif
g_free (http_url);
g_free (https_url);