diff options
author | Jose <pepone@users.noreply.github.com> | 2019-09-10 10:29:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-10 10:29:11 +0200 |
commit | bad1d435dfba9b103bfe76555506757beda5c4df (patch) | |
tree | f4a8dd87308ee80781f9b39ffabd95cee9e1ef69 /cpp/test | |
parent | Whitespace fixes (diff) | |
download | ice-bad1d435dfba9b103bfe76555506757beda5c4df.tar.bz2 ice-bad1d435dfba9b103bfe76555506757beda5c4df.tar.xz ice-bad1d435dfba9b103bfe76555506757beda5c4df.zip |
IceSSL cert name verification fixes - Close #512 (#515)
Diffstat (limited to 'cpp/test')
-rw-r--r-- | cpp/test/IceSSL/configuration/AllTests.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/test/IceSSL/configuration/AllTests.cpp b/cpp/test/IceSSL/configuration/AllTests.cpp index caae5f854a2..9a7b6dbd88a 100644 --- a/cpp/test/IceSSL/configuration/AllTests.cpp +++ b/cpp/test/IceSSL/configuration/AllTests.cpp @@ -1467,6 +1467,8 @@ allTests(Test::TestHelper* helper, const string& /*testDir*/, bool p12) try { server->ice_ping(); + info = ICE_DYNAMIC_CAST(IceSSL::ConnectionInfo, server->ice_getCachedConnection()->getInfo()); + test(!info->verified); } catch(const Ice::LocalException& ex) { |