| Index: net/cert/do_nothing_ct_verifier.cc
|
| diff --git a/net/cert/do_nothing_ct_verifier.cc b/net/cert/do_nothing_ct_verifier.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a22867a147937ae386eebadddb1f485b71d0c1ca
|
| --- /dev/null
|
| +++ b/net/cert/do_nothing_ct_verifier.cc
|
| @@ -0,0 +1,24 @@
|
| +// 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/do_nothing_ct_verifier.h"
|
| +
|
| +#include "net/base/net_errors.h"
|
| +
|
| +namespace net {
|
| +
|
| +DoNothingCTVerifier::DoNothingCTVerifier() = default;
|
| +DoNothingCTVerifier::~DoNothingCTVerifier() = default;
|
| +
|
| +int DoNothingCTVerifier::Verify(
|
| + X509Certificate* cert,
|
| + const std::string& stapled_ocsp_response,
|
| + const std::string& sct_list_from_tls_extension,
|
| + SignedCertificateTimestampAndStatusList* output_scts,
|
| + const NetLogWithSource& net_log) {
|
| + output_scts->clear();
|
| + return ERR_CT_NO_SCTS_VERIFIED_OK;
|
| +}
|
| +
|
| +} // namespace net
|
|
|