diff options
author | Jose <jose@zeroc.com> | 2012-10-03 14:51:45 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2012-10-03 14:51:45 +0200 |
commit | 319a8a2f04aa3dec1eb41f9aa29690bf68bdcfbd (patch) | |
tree | 6cf6d939c3621633056403ff1d1106949a00b5f0 /cpp/src/IceSSL/TrustManager.cpp | |
parent | Minor C++ fixes (diff) | |
download | ice-319a8a2f04aa3dec1eb41f9aa29690bf68bdcfbd.tar.bz2 ice-319a8a2f04aa3dec1eb41f9aa29690bf68bdcfbd.tar.xz ice-319a8a2f04aa3dec1eb41f9aa29690bf68bdcfbd.zip |
ICE-4824 - Fixed VC6 style loops
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) { |