ladybird/Meta/Lagom/Fuzzers/FuzzASN1.cpp
2022-04-01 21:24:45 +01:00

16 lines
337 B
C++

/*
* Copyright (c) 2021, Brian Gianforcaro <bgianf@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibTLS/Certificate.h>
#include <stddef.h>
#include <stdint.h>
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
{
(void)TLS::Certificate::parse_asn1({ data, size });
return 0;
}