diff options
author | Anthony Neal <aneal@zeroc.com> | 2002-03-25 22:41:31 +0000 |
---|---|---|
committer | Anthony Neal <aneal@zeroc.com> | 2002-03-25 22:41:31 +0000 |
commit | 99528353dee44b173f35470f3920b6c7f9c7cb95 (patch) | |
tree | ecf9c1290c00e36dd24862be68c2044cb4d14850 /cpp/test/IceSSL/certificateVerification/Server.cpp | |
parent | project file fixes (diff) | |
download | ice-99528353dee44b173f35470f3920b6c7f9c7cb95.tar.bz2 ice-99528353dee44b173f35470f3920b6c7f9c7cb95.tar.xz ice-99528353dee44b173f35470f3920b6c7f9c7cb95.zip |
Updated to fit into the test framework.
Diffstat (limited to 'cpp/test/IceSSL/certificateVerification/Server.cpp')
-rw-r--r-- | cpp/test/IceSSL/certificateVerification/Server.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/test/IceSSL/certificateVerification/Server.cpp b/cpp/test/IceSSL/certificateVerification/Server.cpp index 7ff69f96663..5e8d7fb04d8 100644 --- a/cpp/test/IceSSL/certificateVerification/Server.cpp +++ b/cpp/test/IceSSL/certificateVerification/Server.cpp @@ -99,9 +99,11 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { Ice::PropertiesPtr properties = communicator->getProperties(); + std::string certPath = properties->getProperty("Ice.SSL.Test.Server.CertPath"); + properties->setProperty("Ice.SSL.Server.CertPath", certPath); + properties->setProperty("Ice.ConnectionWarnings", "0"); - properties->setProperty("Ice.SSL.Client.CertPath","../certs"); - properties->setProperty("Ice.SSL.Client.Config", "sslconfig_8.xml"); + properties->setProperty("Ice.SSL.Server.Config", "sslconfig_8.xml"); IceSSL::SystemPtr sslSystem = communicator->getSslSystem(); sslSystem->configure(IceSSL::Server); |