[empathy/wip/rishi/tls: 1/5] tests: Fix comment
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/wip/rishi/tls: 1/5] tests: Fix comment
- Date: Mon, 20 Mar 2017 19:52:04 +0000 (UTC)
commit 5cdb6ee13b5c82283c93477af29eca2dd2ee28eb
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Mar 20 19:20:11 2017 +0100
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
tests/empathy-tls-test.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/empathy-tls-test.c b/tests/empathy-tls-test.c
index 91b0576..0752e1b 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]