summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpp/src/IceSSL/SChannelTransceiverI.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/src/IceSSL/SChannelTransceiverI.cpp b/cpp/src/IceSSL/SChannelTransceiverI.cpp
index 9409467e0ab..794fa5e850a 100644
--- a/cpp/src/IceSSL/SChannelTransceiverI.cpp
+++ b/cpp/src/IceSSL/SChannelTransceiverI.cpp
@@ -676,10 +676,8 @@ IceSSL::TransceiverI::initialize(IceInternal::Buffer& readBuffer, IceInternal::B
throw IceUtilInternal::lastErrorToString();
}
- CERT_SIMPLE_CHAIN* simpleChain = certChain->rgpChain[0];
-
string trustError;
- if(simpleChain->TrustStatus.dwErrorStatus != CERT_TRUST_NO_ERROR)
+ if(certChain->TrustStatus.dwErrorStatus != CERT_TRUST_NO_ERROR)
{
trustError = trustStatusToString(certChain->TrustStatus.dwErrorStatus);
}