LibCrypto: Remove unused Certificate class

This commit is contained in:
devgianlu 2025-02-15 14:06:25 +01:00 committed by Alexander Kalenik
commit bc0bb0d535
Notes: github-actions[bot] 2025-02-17 23:04:11 +00:00
4 changed files with 21 additions and 711 deletions

View file

@ -4,14 +4,17 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibCrypto/Certificate/Certificate.h>
#include <LibCrypto/ASN1/DER.h>
#include <stddef.h>
#include <stdint.h>
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
{
AK::set_debug_enabled(false);
(void)Crypto::Certificate::Certificate::parse_certificate({ data, size });
Crypto::ASN1::Decoder decoder(ReadonlyBytes { data, size });
while (!decoder.eof())
(void)decoder.drop();
return 0;
}