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

Unified Diff: net/cert/ocsp_verify_result.cc

Issue 2040513003: Implement Expect-Staple (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move OCSP into cert_verify_proc Created 4 years, 6 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/cert/ocsp_verify_result.cc
diff --git a/net/cert/ocsp_verify_result.cc b/net/cert/ocsp_verify_result.cc
new file mode 100644
index 0000000000000000000000000000000000000000..6843625a82b69236c17bf9bb819866b7ac749679
--- /dev/null
+++ b/net/cert/ocsp_verify_result.cc
@@ -0,0 +1,21 @@
+// Copyright 2016 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/cert/ocsp_verify_result.h"
+
+namespace net {
+
+OCSPVerifyResult::OCSPVerifyResult()
+ : response_status(OCSPVerifyResult::MISSING) {}
+
+OCSPVerifyResult::OCSPVerifyResult(const OCSPVerifyResult&) = default;
+
+OCSPVerifyResult::~OCSPVerifyResult() {}
+
+void OCSPVerifyResult::Reset() {
svaldez 2016/06/23 14:03:15 Clear stapled_response?
+ response_status = MISSING;
+ cert_status = base::nullopt;
+}
+
+} // namespace net

Powered by Google App Engine
This is Rietveld 408576698