• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2024 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "net/cert/x509_certificate.h"
6 #include "third_party/fuzztest/src/fuzztest/fuzztest.h"
7 
8 namespace net {
9 
10 namespace {
11 
FuzzCreateFromDERCertChain(const std::vector<std::string_view> & der_certs)12 void FuzzCreateFromDERCertChain(
13     const std::vector<std::string_view>& der_certs) {
14   X509Certificate::CreateFromDERCertChain(der_certs);
15 }
16 
17 FUZZ_TEST(X509CertificateFuzzTest, FuzzCreateFromDERCertChain);
18 
19 }  // namespace
20 
21 }  // namespace net
22