diff options
Diffstat (limited to 'cpp/test/IceSSL/configuration/TestI.cpp')
-rw-r--r-- | cpp/test/IceSSL/configuration/TestI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/IceSSL/configuration/TestI.cpp b/cpp/test/IceSSL/configuration/TestI.cpp index 0d955f73b21..c49413d3fa1 100644 --- a/cpp/test/IceSSL/configuration/TestI.cpp +++ b/cpp/test/IceSSL/configuration/TestI.cpp @@ -42,8 +42,8 @@ ServerI::checkCert(const string& subjectDN, const string& issuerDN, const Ice::C { IceSSL::ConnectionInfo info = IceSSL::getConnectionInfo(c.con); test(info.certs.size() == 2 && - info.certs[0]->getSubjectDN() == subjectDN && - info.certs[0]->getIssuerDN() == issuerDN); + info.certs[0]->getSubjectDN() == IceSSL::DistinguishedName(subjectDN) && + info.certs[0]->getIssuerDN() == IceSSL::DistinguishedName(issuerDN)); } catch(const IceSSL::ConnectionInvalidException&) { |