| // Copyright 2018 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 "content/browser/web_package/signed_exchange_certificate_chain.h" // nogncheck |
| |
| #include "base/strings/string_piece.h" |
| |
| namespace content { |
| |
| extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { |
| SignedExchangeCertificateChain::Parse(SignedExchangeVersion::kB2, |
| base::make_span(data, size), nullptr); |
| return 0; |
| } |
| |
| } // namespace content |