SoupMessage: fix setting of SOUP_MESSAGE_CERTIFICATE_TRUSTED flag
authorDan Winship <danw@gnome.org>
Wed, 30 Nov 2011 11:31:21 +0000 (12:31 +0100)
committerDan Winship <danw@gnome.org>
Wed, 30 Nov 2011 11:33:57 +0000 (12:33 +0100)
commit9afab51d38c0c7d75ce0fb50902b729f1450bbd3
treedcaa15298a68fcb27143cbb47a14c0706dc1a0c0
parentf03674c2e9999781da756b7579eb3a3404e6f2a4
SoupMessage: fix setting of SOUP_MESSAGE_CERTIFICATE_TRUSTED flag

It was accidentally getting cleared at the wrong time (although the
tls-certificate and tls-errors properties were still correct).

Also add a test for this case.

https://bugzilla.gnome.org/show_bug.cgi?id=665182
libsoup/soup-message.c
tests/ssl-test.c