summaryrefslogtreecommitdiffstats
path: root/fuzz/server.c
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2016-05-07 22:09:13 +0200
committerKurt Roeckx <kurt@roeckx.be>2016-06-04 14:39:24 +0200
commitf59d0131cb6fc224aee0a0a92de1f04cdebe97c8 (patch)
tree58b37d06e30988507c0b9eb59bc66ff8747a58af /fuzz/server.c
parentRT3895: Remove fprintf's from SSL library. (diff)
downloadopenssl-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/server.c')
-rw-r--r--fuzz/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzz/server.c b/fuzz/server.c
index d3ed1adfe0..7b376c1abb 100644
--- a/fuzz/server.c
+++ b/fuzz/server.c
@@ -208,7 +208,7 @@ static void Init() {
X509_free(cert);
}
-int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len) {
+int FuzzerTestOneInput(const uint8_t *buf, size_t len) {
if (ctx == NULL)
Init();
// TODO: make this work for OpenSSL. There's a PREDICT define that may do