mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
LibCrypto: Remove unused Certificate
class
This commit is contained in:
parent
24d3da64e5
commit
bc0bb0d535
Notes:
github-actions[bot]
2025-02-17 23:04:11 +00:00
Author: https://github.com/devgianlu
Commit: bc0bb0d535
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3606
4 changed files with 21 additions and 711 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue