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

Side by Side Diff: net/cert/do_nothing_ct_verifier.cc

Issue 2540293004: Add a do-nothing CTVerifier to //net (Closed)
Patch Set: Grammar bad Created 4 years 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 unified diff | Download patch
« no previous file with comments | « net/cert/do_nothing_ct_verifier.h ('k') | net/net.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "net/cert/do_nothing_ct_verifier.h"
6
7 #include "net/base/net_errors.h"
8
9 namespace net {
10
11 DoNothingCTVerifier::DoNothingCTVerifier() = default;
12 DoNothingCTVerifier::~DoNothingCTVerifier() = default;
13
14 int DoNothingCTVerifier::Verify(
15 X509Certificate* cert,
16 const std::string& stapled_ocsp_response,
17 const std::string& sct_list_from_tls_extension,
18 SignedCertificateTimestampAndStatusList* output_scts,
19 const NetLogWithSource& net_log) {
20 output_scts->clear();
21 return ERR_CT_NO_SCTS_VERIFIED_OK;
22 }
23
24 } // namespace net
OLDNEW
« no previous file with comments | « net/cert/do_nothing_ct_verifier.h ('k') | net/net.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698