naiveproxy/net/cert/do_nothing_ct_verifier.cc

26 lines
736 B
C++
Raw Normal View History

2018-02-02 13:49:39 +03:00
// 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