diff options
Diffstat (limited to 'cpp/src/IceSSL/TrustManager.cpp')
-rw-r--r-- | cpp/src/IceSSL/TrustManager.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/src/IceSSL/TrustManager.cpp b/cpp/src/IceSSL/TrustManager.cpp index 1ab0b2deb9c..7d9e575ef30 100644 --- a/cpp/src/IceSSL/TrustManager.cpp +++ b/cpp/src/IceSSL/TrustManager.cpp @@ -154,12 +154,10 @@ TrustManager::verify(const NativeConnectionInfoPtr& info) } } - list<list<DistinguishedName> >::const_iterator p; - // // Fail if we match anything in the reject set. // - for(p = reject.begin(); p != reject.end(); ++p) + for(list<list<DistinguishedName> >::const_iterator p = reject.begin(); p != reject.end(); ++p) { if(_traceLevel > 1) { @@ -183,7 +181,7 @@ TrustManager::verify(const NativeConnectionInfoPtr& info) // // Succeed if we match anything in the accept set. // - for(p = accept.begin(); p != accept.end(); ++p) + for(list<list<DistinguishedName> >::const_iterator p = accept.begin(); p != accept.end(); ++p) { if(_traceLevel > 1) { |