diff options
author | Dan Winship <danw@gnome.org> | 2010-02-20 12:44:44 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2010-02-21 10:06:10 -0500 |
commit | ab3a4d1eafda14b04454343ad0ba59df3236503d (patch) | |
tree | 82dbd8af9dd1a1d64b0682595ad3167b250f3588 /libsoup/soup-socket.h | |
parent | e25d2020015656efb36825fc189e84b04c5f6593 (diff) | |
download | libsoup-ab3a4d1eafda14b04454343ad0ba59df3236503d.tar.gz |
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
Diffstat (limited to 'libsoup/soup-socket.h')
-rw-r--r-- | libsoup/soup-socket.h | 3 |
1 files changed, 2 insertions, 1 deletions
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, |