From ab3a4d1eafda14b04454343ad0ba59df3236503d Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sat, 20 Feb 2010 12:44:44 -0500 Subject: Add SOUP_SESSION_SSL_STRICT, to control whether SSL cert errors are fatal Based on a patch from Gustavo Noronha Silva https://bugzilla.gnome.org/show_bug.cgi?id=610374 --- libsoup/soup-socket.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libsoup/soup-socket.h') diff --git a/libsoup/soup-socket.h b/libsoup/soup-socket.h index 079297be..4106e86c 100644 --- a/libsoup/soup-socket.h +++ b/libsoup/soup-socket.h @@ -45,8 +45,9 @@ typedef struct { #define SOUP_SOCKET_FLAG_NONBLOCKING "non-blocking" #define SOUP_SOCKET_IS_SERVER "is-server" #define SOUP_SOCKET_SSL_CREDENTIALS "ssl-creds" +#define SOUP_SOCKET_SSL_STRICT "ssl-strict" #define SOUP_SOCKET_ASYNC_CONTEXT "async-context" -#define SOUP_SOCKET_TIMEOUT "timeout" +#define SOUP_SOCKET_TIMEOUT "timeout" typedef void (*SoupSocketCallback) (SoupSocket *sock, guint status, -- cgit v1.2.1