diff options
author | Bernard Normier <bernard@zeroc.com> | 2016-08-05 18:20:52 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2016-08-05 18:20:52 -0400 |
commit | 15bda486a9e6ab40383e87b2cc595536056b1adb (patch) | |
tree | e09d5c5b607f3e09244f7be9b7ba4d72aa85a8a9 /cpp/src/IceSSL | |
parent | Improved DistinguishedName ctors and comparison operators (diff) | |
download | ice-15bda486a9e6ab40383e87b2cc595536056b1adb.tar.bz2 ice-15bda486a9e6ab40383e87b2cc595536056b1adb.tar.xz ice-15bda486a9e6ab40383e87b2cc595536056b1adb.zip |
Fix build failure
Diffstat (limited to 'cpp/src/IceSSL')
-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 { |