mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
26 lines
736 B
C++
26 lines
736 B
C++
|
// 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;
|
||
|
|
||
|
void DoNothingCTVerifier::Verify(
|
||
|
X509Certificate* cert,
|
||
|
base::StringPiece stapled_ocsp_response,
|
||
|
base::StringPiece sct_list_from_tls_extension,
|
||
|
SignedCertificateTimestampAndStatusList* output_scts,
|
||
|
const NetLogWithSource& net_log) {
|
||
|
output_scts->clear();
|
||
|
}
|
||
|
|
||
|
void DoNothingCTVerifier::SetObserver(Observer* observer) {}
|
||
|
|
||
|
} // namespace net
|