diff options
Diffstat (limited to 'cpp/src')
-rwxr-xr-x | cpp/src/IceSSL/Certificate.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/cpp/src/IceSSL/Certificate.cpp b/cpp/src/IceSSL/Certificate.cpp index c502d54baa0..fb59c8a884c 100755 --- a/cpp/src/IceSSL/Certificate.cpp +++ b/cpp/src/IceSSL/Certificate.cpp @@ -881,18 +881,23 @@ DistinguishedName::DistinguishedName(const list<pair<string, string> >& rdns) : unescape(); } +namespace IceSSL +{ + bool -IceSSL::operator==(const DistinguishedName& lhs, const DistinguishedName& rhs) +operator==(const DistinguishedName& lhs, const DistinguishedName& rhs) { return lhs._unescaped == rhs._unescaped; } bool -IceSSL::operator<(const DistinguishedName& lhs, const DistinguishedName& rhs) +operator<(const DistinguishedName& lhs, const DistinguishedName& rhs) { return lhs._unescaped == rhs._unescaped; } +} + bool DistinguishedName::match(const DistinguishedName& other) const { |