diff options
author | David Benjamin <davidben@google.com> | 2016-10-12 10:35:18 -0400 |
---|---|---|
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | 2016-10-12 14:59:56 +0000 |
commit | 0939f80c6a71b758e9df611aa6282c9212ae54e1 (patch) | |
tree | f8c25eb07005b24b7c745d99340dbc9217b5b259 /fuzz/pkcs8.cc | |
parent | 490469f850ec94c7ce46eb7d44fe1ccb3bdbdae6 (diff) | |
download | boringssl-0939f80c6a71b758e9df611aa6282c9212ae54e1.zip boringssl-0939f80c6a71b758e9df611aa6282c9212ae54e1.tar.gz boringssl-0939f80c6a71b758e9df611aa6282c9212ae54e1.tar.bz2 |
Fix fuzzer signatures.
They take a const pointer. See
http://llvm.org/docs/LibFuzzer.html#building
BUG=chromium:655016
Change-Id: Id6c7584c7a875e822b1fbff72163c888d02a9f44
Reviewed-on: https://boringssl-review.googlesource.com/11580
Reviewed-by: Steven Valdez <svaldez@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: Steven Valdez <svaldez@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
Diffstat (limited to 'fuzz/pkcs8.cc')
-rw-r--r-- | fuzz/pkcs8.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzz/pkcs8.cc b/fuzz/pkcs8.cc index 55d3893..a0ee3ee 100644 --- a/fuzz/pkcs8.cc +++ b/fuzz/pkcs8.cc @@ -16,7 +16,7 @@ #include <openssl/evp.h> #include <openssl/mem.h> -extern "C" int LLVMFuzzerTestOneInput(uint8_t *buf, size_t len) { +extern "C" int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len) { CBS cbs; CBS_init(&cbs, buf, len); EVP_PKEY *pkey = EVP_parse_private_key(&cbs); |