diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2016-05-07 22:09:13 +0200 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2016-06-04 14:39:24 +0200 |
commit | f59d0131cb6fc224aee0a0a92de1f04cdebe97c8 (patch) | |
tree | 58b37d06e30988507c0b9eb59bc66ff8747a58af /fuzz/asn1.c | |
parent | RT3895: Remove fprintf's from SSL library. (diff) | |
download | openssl-f59d0131cb6fc224aee0a0a92de1f04cdebe97c8.tar.xz openssl-f59d0131cb6fc224aee0a0a92de1f04cdebe97c8.zip |
Add support for fuzzing with AFL
Reviewed-by: Ben Laurie <ben@links.org>
MR: #2740
Diffstat (limited to 'fuzz/asn1.c')
-rw-r--r-- | fuzz/asn1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzz/asn1.c b/fuzz/asn1.c index fdf4c5ee29..66825f1b2c 100644 --- a/fuzz/asn1.c +++ b/fuzz/asn1.c @@ -60,7 +60,7 @@ static const ASN1_ITEM *item_type[] = { NULL }; -int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len) { +int FuzzerTestOneInput(const uint8_t *buf, size_t len) { for (int n = 0; item_type[n] != NULL; ++n) { const uint8_t *b = buf; ASN1_VALUE *o = ASN1_item_d2i(NULL, &b, len, item_type[n]); |