summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebarshi Ray <debarshir@gnome.org>2017-03-20 19:20:11 +0100
committerDebarshi Ray <debarshir@gnome.org>2017-03-20 19:32:07 +0100
commit5cdb6ee13b5c82283c93477af29eca2dd2ee28eb (patch)
treefc134555ef7d2f397631a25185bb018f25bd27dd
parentadf7b886fae28a604a59c1032dc5bae2881ce477 (diff)
downloadempathy-5cdb6ee13b5c82283c93477af29eca2dd2ee28eb.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
-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,