Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Unified Diff: chrome/common/net/x509_certificate_model_openssl.cc

Issue 23567010: Fixing a problem introduced when "Unknown" certs were renamed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/net/x509_certificate_model_openssl.cc
diff --git a/chrome/common/net/x509_certificate_model_openssl.cc b/chrome/common/net/x509_certificate_model_openssl.cc
index 03d53eb178ab4cc43e7e39e3f0c2cd08e049ffcc..72dd28d1fd29e2477b38a1298da756eb677bb128 100644
--- a/chrome/common/net/x509_certificate_model_openssl.cc
+++ b/chrome/common/net/x509_certificate_model_openssl.cc
@@ -37,7 +37,7 @@ std::string GetKeyValuesFromName(X509_NAME* name) {
return ret;
}
-} // namepsace
+} // namespace
namespace x509_certificate_model {
@@ -67,7 +67,7 @@ std::string GetVersion(net::X509Certificate::OSCertHandle cert_handle) {
net::CertType GetType(X509Certificate::OSCertHandle os_cert) {
// TODO(bulach): implement me.
- return net::UNKNOWN_CERT;
+ return net::OTHER_CERT;
}
std::string GetEmailAddress(X509Certificate::OSCertHandle os_cert) {
« no previous file with comments | « chrome/browser/ui/webui/options/certificate_manager_handler.cc ('k') | chrome/common/net/x509_certificate_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698