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

Unified Diff: net/base/ssl_config_service.cc

Issue 7819009: For the SSL cert status, convert anonymous enum that gives bit values into a typedefed uint32. Th... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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: net/base/ssl_config_service.cc
===================================================================
--- net/base/ssl_config_service.cc (revision 98481)
+++ net/base/ssl_config_service.cc (working copy)
@@ -26,7 +26,7 @@
}
bool SSLConfig::IsAllowedBadCert(X509Certificate* cert,
- int* cert_status) const {
+ CertStatus* cert_status) const {
std::string der_cert;
if (!cert->GetDEREncoded(&der_cert))
return false;
@@ -34,7 +34,7 @@
}
bool SSLConfig::IsAllowedBadCert(const base::StringPiece& der_cert,
- int* cert_status) const {
+ CertStatus* cert_status) const {
for (size_t i = 0; i < allowed_bad_certs.size(); ++i) {
if (der_cert == allowed_bad_certs[i].der_cert) {
if (cert_status)

Powered by Google App Engine
This is Rietveld 408576698