diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-11-11 12:53:52 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-11-11 12:53:52 (GMT) |
commit | a68c8159ae307b758a6590569d9917e9c9743452 (patch) | |
tree | 4815daa36a63b93f105e4c3d060daa594d2a40dc /Swiften/TLS | |
parent | 91b828a6e94f15c675e03baff4d45a7feb939eb9 (diff) | |
download | swift-contrib-a68c8159ae307b758a6590569d9917e9c9743452.zip swift-contrib-a68c8159ae307b758a6590569d9917e9c9743452.tar.bz2 |
Changed misleading test name.
Diffstat (limited to 'Swiften/TLS')
-rw-r--r-- | Swiften/TLS/UnitTest/ServerIdentityVerifierTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/TLS/UnitTest/ServerIdentityVerifierTest.cpp b/Swiften/TLS/UnitTest/ServerIdentityVerifierTest.cpp index a7fdbad..5234445 100644 --- a/Swiften/TLS/UnitTest/ServerIdentityVerifierTest.cpp +++ b/Swiften/TLS/UnitTest/ServerIdentityVerifierTest.cpp @@ -32,7 +32,7 @@ class ServerIdentityVerifierTest : public CppUnit::TestFixture { CPPUNIT_TEST(testCertificateVerifies_WithMatchingXmppAddrWithWildcard); CPPUNIT_TEST(testCertificateVerifies_WithMatchingInternationalXmppAddr); CPPUNIT_TEST(testCertificateVerifies_WithMatchingCNWithoutSAN); - CPPUNIT_TEST(testCertificateVerifies_WithMatchingCNWithMatchingSAN); + CPPUNIT_TEST(testCertificateVerifies_WithMatchingCNWithSAN); CPPUNIT_TEST_SUITE_END(); public: @@ -157,7 +157,7 @@ class ServerIdentityVerifierTest : public CppUnit::TestFixture { CPPUNIT_ASSERT(testling.certificateVerifies(certificate)); } - void testCertificateVerifies_WithMatchingCNWithMatchingSAN() { + void testCertificateVerifies_WithMatchingCNWithSAN() { ServerIdentityVerifier testling(JID("foo@bar.com/baz")); SimpleCertificate::ref certificate(new SimpleCertificate()); certificate->addSRVName("foo.com"); |