summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2016-08-05 18:20:52 -0400
committerBernard Normier <bernard@zeroc.com>2016-08-05 18:20:52 -0400
commit15bda486a9e6ab40383e87b2cc595536056b1adb (patch)
treee09d5c5b607f3e09244f7be9b7ba4d72aa85a8a9 /cpp/src/IceSSL
parentImproved DistinguishedName ctors and comparison operators (diff)
downloadice-15bda486a9e6ab40383e87b2cc595536056b1adb.tar.bz2
ice-15bda486a9e6ab40383e87b2cc595536056b1adb.tar.xz
ice-15bda486a9e6ab40383e87b2cc595536056b1adb.zip
Fix build failure
Diffstat (limited to 'cpp/src/IceSSL')
-rwxr-xr-xcpp/src/IceSSL/Certificate.cpp9
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
{