aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/build-data/cc/sunstudio.txt4
-rw-r--r--src/cert/x509cert/x509cert.cpp8
2 files changed, 7 insertions, 5 deletions
diff --git a/src/build-data/cc/sunstudio.txt b/src/build-data/cc/sunstudio.txt
index 91a6ace65..d0b25d144 100644
--- a/src/build-data/cc/sunstudio.txt
+++ b/src/build-data/cc/sunstudio.txt
@@ -45,7 +45,9 @@ sparc64 -> "-xchip=SUBMODEL" sparc64-
</mach_opt>
<mach_abi_linking>
-# On Linux, may need -library=stlport4
+# Needed on some Linux distros
+#linux -> "-library=stlport4"
+
sparc64 -> "-xarch=v9"
amd64 -> "-m64"
</mach_abi_linking>
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";
}