summaryrefslogtreecommitdiff
path: root/cpp/test/IceSSL/configuration/TestI.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2014-06-06 16:33:11 +0200
committerJose <jose@zeroc.com>2014-06-06 16:33:11 +0200
commit7ba5b1fa9d9849182b19aebe5bad1570fb82452b (patch)
tree2b6a4f6407b4cc860d01f6e737959122a719ca3f /cpp/test/IceSSL/configuration/TestI.cpp
parentFixed ICE-5499, new garbage collection support (diff)
downloadice-7ba5b1fa9d9849182b19aebe5bad1570fb82452b.tar.bz2
ice-7ba5b1fa9d9849182b19aebe5bad1570fb82452b.tar.xz
ice-7ba5b1fa9d9849182b19aebe5bad1570fb82452b.zip
Fixed (ICE-4894) - Native SSL implementation for OS X
Diffstat (limited to 'cpp/test/IceSSL/configuration/TestI.cpp')
-rw-r--r--cpp/test/IceSSL/configuration/TestI.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/test/IceSSL/configuration/TestI.cpp b/cpp/test/IceSSL/configuration/TestI.cpp
index f24f506c159..151f141ad1e 100644
--- a/cpp/test/IceSSL/configuration/TestI.cpp
+++ b/cpp/test/IceSSL/configuration/TestI.cpp
@@ -12,6 +12,7 @@
#include <TestI.h>
#include <TestCommon.h>
#include <IceSSL/Plugin.h>
+#include <Util.h>
using namespace std;
using namespace Ice;
@@ -68,7 +69,11 @@ ServerI::checkCipher(const string& cipher, const Ice::Current& c)
void
ServerI::destroy()
{
+ string defaultDir = _communicator->getProperties()->getProperty("IceSSL.DefaultDir");
_communicator->destroy();
+#ifdef ICE_USE_SECURE_TRANSPORT
+ removeKeychain("server.keychain", "password");
+#endif
}
Test::ServerPrx