summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/UWPTransceiverI.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2017-02-22 14:48:21 +0100
committerBenoit Foucher <benoit@zeroc.com>2017-02-22 14:48:21 +0100
commit7c93c219b4af7d5183ca17ad4e1a1d97c53a918d (patch)
treec0a09bce21d07422af0cbff088447d34dc92fb00 /cpp/src/IceSSL/UWPTransceiverI.cpp
parentBuild C++11 testsuite with VS 2017 RC (diff)
downloadice-7c93c219b4af7d5183ca17ad4e1a1d97c53a918d.tar.bz2
ice-7c93c219b4af7d5183ca17ad4e1a1d97c53a918d.tar.xz
ice-7c93c219b4af7d5183ca17ad4e1a1d97c53a918d.zip
Minor IceSSL fixes
Diffstat (limited to 'cpp/src/IceSSL/UWPTransceiverI.cpp')
-rw-r--r--cpp/src/IceSSL/UWPTransceiverI.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/cpp/src/IceSSL/UWPTransceiverI.cpp b/cpp/src/IceSSL/UWPTransceiverI.cpp
index 91945bd7fce..ca4bdc46afc 100644
--- a/cpp/src/IceSSL/UWPTransceiverI.cpp
+++ b/cpp/src/IceSSL/UWPTransceiverI.cpp
@@ -30,7 +30,7 @@ using namespace Windows::Security::Cryptography::Certificates;
namespace
{
-
+
std::string
validationResultToString(ChainValidationResult result)
{
@@ -143,7 +143,7 @@ IceSSL::TransceiverI::initialize(IceInternal::Buffer& readBuffer, IceInternal::B
params->CurrentTimeValidationEnabled = true;
params->NetworkRetrievalEnabled = false;
params->RevocationCheckEnabled = false;
-
+
//
// BUGFIX: It is currently not possible to set ExclusiveTrustRoots programatically
// it is causing a read access exception see:https://goo.gl/B6OaNx
@@ -163,10 +163,6 @@ IceSSL::TransceiverI::initialize(IceInternal::Buffer& readBuffer, IceInternal::B
}
ChainValidationResult result = _chain->Validate();
- //
- // Ignore InvalidName errors here SSLEngine::verifyPeer already checks that
- // using IceSSL.CheckCertName settings.
- //
if(result != ChainValidationResult::Success)
{
if(_engine->getVerifyPeer() == 0)