diff options
author | 2017-01-25 22:27:16 +0100 | |
---|---|---|
committer | 2017-01-25 13:27:16 -0800 | |
commit | 71b6b10704c670a0a033ed6b1b05bad5ead81ee3 (patch) | |
tree | 196527ae7344807e791f5160e6d953f7eb61a8c5 /projects/nss/fuzzers/asn1_octetstring_fuzzer.cc | |
parent | 8f2c76afd549b918f34794edd81876acd15408e5 (diff) |
Update NSS project to use the build.sh and fuzzers provided by NSS (#316)
The current fuzzers have been removed and are now covered by the new QuickDER target.
Diffstat (limited to 'projects/nss/fuzzers/asn1_octetstring_fuzzer.cc')
-rw-r--r-- | projects/nss/fuzzers/asn1_octetstring_fuzzer.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/projects/nss/fuzzers/asn1_octetstring_fuzzer.cc b/projects/nss/fuzzers/asn1_octetstring_fuzzer.cc deleted file mode 100644 index 71b25776..00000000 --- a/projects/nss/fuzzers/asn1_octetstring_fuzzer.cc +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2016 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include <stddef.h> -#include <stdint.h> - -#include "asn1_fuzzer_template.h" - -// Entry point for LibFuzzer. -extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { - NSSFuzzOneInput<SECItem, SEC_QuickDERDecodeItem>( - SEC_ASN1_GET(SEC_OctetStringTemplate), data, size); - NSSFuzzOneInput<SECItem, SEC_ASN1DecodeItem>( - SEC_ASN1_GET(SEC_OctetStringTemplate), data, size); - - return 0; -} |