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

Unified Diff: net/base/cert_verify_result.h

Issue 21071: Add X509Certificate::Verify stubs for Mac and Linux.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 | « no previous file | net/base/ssl_client_socket_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cert_verify_result.h
===================================================================
--- net/base/cert_verify_result.h (revision 9103)
+++ net/base/cert_verify_result.h (working copy)
@@ -7,12 +7,19 @@
namespace net {
-// The result of certificate verification.
+// The result of certificate verification. Eventually this may contain the
+// certificate chain that was constructed during certificate verification.
class CertVerifyResult {
public:
- CertVerifyResult()
- : cert_status(0), has_md5(false), has_md2(false), has_md4(false),
- has_md5_ca(false), has_md2_ca(false) {
+ CertVerifyResult() { Reset(); }
+
+ void Reset() {
+ cert_status = 0;
+ has_md5 = false;
+ has_md2 = false;
+ has_md4 = false;
+ has_md5_ca = false;
+ has_md2_ca = false;
}
int cert_status;
« no previous file with comments | « no previous file | net/base/ssl_client_socket_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698