Quoth Steve Dee: > soup_message_get_flags returns a bunch of flags besides > SOUP_MESSAGE_CERTIFICATE_TRUSTED, so the XOR check was incorrect.
Ah great, thanks for that patch, works perfectly. I meant to look into this, but didn't find the time, so thanks.