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

Unified Diff: net/base/cert_status_flags.cc

Issue 10821024: Remove error handling for NOT_IN_DNS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: g try Created 8 years, 5 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
« no previous file with comments | « net/base/cert_status_flags.h ('k') | net/base/cert_verify_proc_openssl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cert_status_flags.cc
diff --git a/net/base/cert_status_flags.cc b/net/base/cert_status_flags.cc
index 153327f9f38dfebbce43a6db25c0f557ee915df5..07b9751f29a73602004356977dbe02be0a2dff4d 100644
--- a/net/base/cert_status_flags.cc
+++ b/net/base/cert_status_flags.cc
@@ -43,8 +43,6 @@ CertStatus MapNetErrorToCertStatus(int error) {
return CERT_STATUS_WEAK_SIGNATURE_ALGORITHM;
case ERR_CERT_WEAK_KEY:
return CERT_STATUS_WEAK_KEY;
- case ERR_CERT_NOT_IN_DNS:
- return CERT_STATUS_NOT_IN_DNS;
default:
return 0;
}
@@ -77,8 +75,6 @@ int MapCertStatusToNetError(CertStatus cert_status) {
return ERR_CERT_UNABLE_TO_CHECK_REVOCATION;
if (cert_status & CERT_STATUS_NO_REVOCATION_MECHANISM)
return ERR_CERT_NO_REVOCATION_MECHANISM;
- if (cert_status & CERT_STATUS_NOT_IN_DNS)
- return ERR_CERT_NOT_IN_DNS;
NOTREACHED();
return ERR_UNEXPECTED;
« no previous file with comments | « net/base/cert_status_flags.h ('k') | net/base/cert_verify_proc_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698