do_nothing_ct_verifier.cc 706 B

123456789101112131415161718192021222324
  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. #include "net/cert/do_nothing_ct_verifier.h"
  5. #include "net/base/net_errors.h"
  6. namespace net {
  7. DoNothingCTVerifier::DoNothingCTVerifier() = default;
  8. DoNothingCTVerifier::~DoNothingCTVerifier() = default;
  9. void DoNothingCTVerifier::Verify(
  10. base::StringPiece hostname,
  11. X509Certificate* cert,
  12. base::StringPiece stapled_ocsp_response,
  13. base::StringPiece sct_list_from_tls_extension,
  14. SignedCertificateTimestampAndStatusList* output_scts,
  15. const NetLogWithSource& net_log) {
  16. output_scts->clear();
  17. }
  18. } // namespace net