summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDebarshi Ray <debarshir@gnome.org>2017-03-20 19:20:11 +0100
committerDebarshi Ray <debarshir@gnome.org>2017-03-21 15:33:01 +0100
commit29cee6ff6d7dba8a39adce03b16d6798fe8e863e (patch)
tree39b4448ce2d28184527e733eceaf2da8c9737e21 /tests
parent5c74cc1525cc2ff92239f8bc81dff45ce561cb55 (diff)
downloadempathy-29cee6ff6d7dba8a39adce03b16d6798fe8e863e.tar.gz
tests: Fix comment
The existing comment was mistakenly copied from test_certificate_verify_success_with_full_chain. This test case is about a certificate that has been pinned against a specific peer. The mock TLS connection doesn't have the full chain, but just the leaf-level certificate that has been pinned. https://bugzilla.gnome.org/show_bug.cgi?id=780160
Diffstat (limited to 'tests')
-rw-r--r--tests/empathy-tls-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/empathy-tls-test.c b/tests/empathy-tls-test.c
index 91b05761f..0752e1b32 100644
--- a/tests/empathy-tls-test.c
+++ b/tests/empathy-tls-test.c
@@ -654,8 +654,8 @@ test_certificate_verify_success_with_pinned (Test *test,
};
/*
- * In this test the mock TLS connection has a full certificate
- * chain. We look for an anchor certificate in the chain.
+ * In this test the mock TLS connection has a certificate that has
+ * been pinned for the test-server.empathy.gnome.org peer.
*/
test->mock = mock_tls_certificate_new_and_register (test->dbus,