pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9eedabe
)
Fix the ssl trusted check.
author
Christoph Lohmann
<20h@r-36.net>
Thu, 30 Jan 2014 18:35:54 +0000
(19:35 +0100)
committer
Christoph Lohmann
<20h@r-36.net>
Thu, 30 Jan 2014 18:35:54 +0000
(19:35 +0100)
Thank you Steve Dee <mrdomino@gmail.com>!
surf.c
patch
|
blob
|
history
diff --git
a/surf.c
b/surf.c
index
f0be24b
..
093bdf4
100644
(file)
--- a/
surf.c
+++ b/
surf.c
@@
-601,8
+601,8
@@
loadstatuschange(WebKitWebView *view, GParamSpec *pspec, Client *c) {
src = webkit_web_frame_get_data_source(frame);
request = webkit_web_data_source_get_request(src);
msg = webkit_network_request_get_message(request);
- c->sslfailed = soup_message_get_flags(msg)
-
^ SOUP_MESSAGE_CERTIFICATE_TRUSTED
;
+ c->sslfailed =
!(
soup_message_get_flags(msg)
+
& SOUP_MESSAGE_CERTIFICATE_TRUSTED)
;
}
setatom(c, AtomUri, uri);
break;