aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-03-01 13:52:46 +0000
committerlloyd <[email protected]>2011-03-01 13:52:46 +0000
commit39024858da467fd34a4d095ad1770b4c74db02ea (patch)
tree2d4ee4ca8b2ac36e9f97e2a7a84ef18470598554 /src/cert
parentc994122b8b42a42a6f7709e4d7755036604990ce (diff)
Fix variable mask warning in Sun C++.
Make comment clearer on how to enable stlport4 in Sun C++
Diffstat (limited to 'src/cert')
-rw-r--r--src/cert/x509cert/x509cert.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cert/x509cert/x509cert.cpp b/src/cert/x509cert/x509cert.cpp
index 38775271e..7b1d97def 100644
--- a/src/cert/x509cert/x509cert.cpp
+++ b/src/cert/x509cert/x509cert.cpp
@@ -329,8 +329,8 @@ std::string X509_Certificate::to_string() const
continue;
out << "Subject " << dn_fields[i] << ":";
- for(size_t i = 0; i != vals.size(); ++i)
- out << " " << vals[i];
+ for(size_t j = 0; j != vals.size(); ++j)
+ out << " " << vals[j];
out << "\n";
}
@@ -342,8 +342,8 @@ std::string X509_Certificate::to_string() const
continue;
out << "Issuer " << dn_fields[i] << ":";
- for(size_t i = 0; i != vals.size(); ++i)
- out << " " << vals[i];
+ for(size_t j = 0; j != vals.size(); ++j)
+ out << " " << vals[j];
out << "\n";
}