projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Run the fuzzing corpora as tests.
[openssl.git]
/
fuzz
/
ct.c
diff --git
a/fuzz/ct.c
b/fuzz/ct.c
index dbb7ab4872421fe44d97f5f5e2c026d3a05496c3..5dc47f1f1550d12271b6acc55d6d06019130644c 100644
(file)
--- a/
fuzz/ct.c
+++ b/
fuzz/ct.c
@@
-16,6
+16,10
@@
#include <openssl/ct.h>
#include "fuzzer.h"
+int FuzzerInitialize(int *argc, char ***argv) {
+ return 1;
+}
+
int FuzzerTestOneInput(const uint8_t *buf, size_t len) {
const uint8_t **pp = &buf;
STACK_OF(SCT) *scts = d2i_SCT_LIST(NULL, pp, len);