[go: nahoru, domu]

blob: 6f0f06075a96755fbf403749b0372c6dfac9d2e5 [file] [log] [blame]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "services/network/trust_tokens/trust_token_key_commitment_parser.h"
#include <memory>
#include "services/network/public/mojom/trust_tokens.mojom.h"
namespace network {
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
base::StringPiece string_input(reinterpret_cast<const char*>(data), size);
TrustTokenKeyCommitmentParser().Parse(string_input);
TrustTokenKeyCommitmentParser().ParseMultipleIssuers(string_input);
return 0;
}
} // namespace network