summaryrefslogtreecommitdiff
path: root/cpp/test/Glacier2/ssl/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Glacier2/ssl/Server.cpp')
-rwxr-xr-xcpp/test/Glacier2/ssl/Server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Glacier2/ssl/Server.cpp b/cpp/test/Glacier2/ssl/Server.cpp
index e455ede01fe..aae69863062 100755
--- a/cpp/test/Glacier2/ssl/Server.cpp
+++ b/cpp/test/Glacier2/ssl/Server.cpp
@@ -76,7 +76,7 @@ public:
test(current.ctx.find("SSL.Local.Port")->second == "12348");
try
{
- IceSSL::CertificatePtr cert = IceSSL::Certificate::decodePEM(current.ctx.find("SSL.PeerCert")->second);
+ IceSSL::CertificatePtr cert = IceSSL::Certificate::decode(current.ctx.find("SSL.PeerCert")->second);
test(cert->getIssuerDN() ==
"/C=US/ST=Florida/L=Palm Beach Gardens/O=ZeroC, Inc."
"/OU=Ice/CN=ZeroC Test CA/emailAddress=info@zeroc.com");