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

Unified Diff: net/base/cert_status_flags.cc

Issue 165504: Add new certificate error code... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Upload before checkin Created 11 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
« no previous file with comments | « net/base/cert_status_flags.h ('k') | net/base/net_error_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cert_status_flags.cc
===================================================================
--- net/base/cert_status_flags.cc (revision 23393)
+++ net/base/cert_status_flags.cc (working copy)
@@ -31,6 +31,8 @@
// Falls through.
case ERR_CERT_INVALID:
return CERT_STATUS_INVALID;
+ case ERR_CERT_WEAK_SIGNATURE_ALGORITHM:
+ return CERT_STATUS_WEAK_SIGNATURE_ALGORITHM;
default:
return 0;
}
@@ -51,6 +53,8 @@
return ERR_CERT_AUTHORITY_INVALID;
if (cert_status & CERT_STATUS_COMMON_NAME_INVALID)
return ERR_CERT_COMMON_NAME_INVALID;
+ if (cert_status & CERT_STATUS_WEAK_SIGNATURE_ALGORITHM)
+ return ERR_CERT_WEAK_SIGNATURE_ALGORITHM;
if (cert_status & CERT_STATUS_DATE_INVALID)
return ERR_CERT_DATE_INVALID;
« no previous file with comments | « net/base/cert_status_flags.h ('k') | net/base/net_error_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698