summaryrefslogtreecommitdiff
path: root/tests/ssl-test.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2011-10-20 17:56:12 -0400
committerDan Winship <danw@gnome.org>2011-10-20 17:56:12 -0400
commit6bd66c350edf268ec58aa985e0abf15f1bbc9f32 (patch)
tree6c80bde67c310edb6d30ded85027c0770516863e /tests/ssl-test.c
parentbfa1eaa0481f664d5a8f7c891d9f8559a9613d6a (diff)
downloadlibsoup-6bd66c350edf268ec58aa985e0abf15f1bbc9f32.tar.gz
libsoup-6bd66c350edf268ec58aa985e0abf15f1bbc9f32.tar.bz2
libsoup-6bd66c350edf268ec58aa985e0abf15f1bbc9f32.zip
oops, I apparently didn't run "make check" after the tls changes...
Diffstat (limited to 'tests/ssl-test.c')
-rw-r--r--tests/ssl-test.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ssl-test.c b/tests/ssl-test.c
index bdc8ae86..37e746ee 100644
--- a/tests/ssl-test.c
+++ b/tests/ssl-test.c
@@ -91,6 +91,12 @@ do_one_strict_test (SoupSession *session, char *uri,
msg->status_code, msg->reason_phrase,
expected_status,
soup_status_get_phrase (expected_status));
+ if (msg->status_code == SOUP_STATUS_SSL_FAILED) {
+ GTlsCertificateFlags flags = 0;
+
+ soup_message_get_https_status (msg, NULL, &flags);
+ debug_printf (1, " tls error flags: 0x%x\n", flags);
+ }
errors++;
}
g_object_unref (msg);