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

Unified Diff: net/base/cert_verify_result.cc

Issue 3146034: Allow the constructed certificate chain to be returned in CertVerifyResult (Closed)
Patch Set: Created 10 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_verify_result.h ('k') | net/base/x509_certificate_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cert_verify_result.cc
diff --git a/net/base/cert_verify_result.cc b/net/base/cert_verify_result.cc
new file mode 100644
index 0000000000000000000000000000000000000000..4d02f844bc827a0b6c49fd8e7671a6fa8c97d983
--- /dev/null
+++ b/net/base/cert_verify_result.cc
@@ -0,0 +1,27 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "net/base/cert_verify_result.h"
+
+#include "net/base/x509_certificate.h"
+
+namespace net {
+
+CertVerifyResult::CertVerifyResult() {
+ Reset();
+}
+
+CertVerifyResult::~CertVerifyResult() { }
+
+void CertVerifyResult::Reset() {
+ certificate = NULL;
+ cert_status = 0;
+ has_md5 = false;
+ has_md2 = false;
+ has_md4 = false;
+ has_md5_ca = false;
+ has_md2_ca = false;
+}
+
+} // namespace net
« no previous file with comments | « net/base/cert_verify_result.h ('k') | net/base/x509_certificate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698