diff options
author | Matthew Newhook <matthew@zeroc.com> | 2006-06-05 15:16:27 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2006-06-05 15:16:27 +0000 |
commit | 8f2ddfea5a795ebe5430d9cba4c299ef616f849a (patch) | |
tree | 86b6bb914961c352c3d2659a34c4089df824cfc7 /cpp/test/IceSSL/configuration/TestI.cpp | |
parent | added support for TrustOnly. (diff) | |
download | ice-8f2ddfea5a795ebe5430d9cba4c299ef616f849a.tar.bz2 ice-8f2ddfea5a795ebe5430d9cba4c299ef616f849a.tar.xz ice-8f2ddfea5a795ebe5430d9cba4c299ef616f849a.zip |
Added IceSSL::DistinguishedName
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&) { |