diff options
author | 2014-05-02 02:53:37 +0000 | |
---|---|---|
committer | 2014-05-02 02:53:37 +0000 | |
commit | 931073377aec8231f5e2d22083a8b24d7959de75 (patch) | |
tree | c2951257aac2ed966e2d006321858a3e0699a1c0 /regress/usr.bin/ssh/unittests/test_helper/fuzz.c | |
parent | Enable use of assembly code for AES, BN (Montgomery), SHA1, SHA256 and SHA512. (diff) | |
download | wireguard-openbsd-931073377aec8231f5e2d22083a8b24d7959de75.tar.xz wireguard-openbsd-931073377aec8231f5e2d22083a8b24d7959de75.zip |
make the fuzzer seed const to make it clear that it is never modified
Diffstat (limited to 'regress/usr.bin/ssh/unittests/test_helper/fuzz.c')
-rw-r--r-- | regress/usr.bin/ssh/unittests/test_helper/fuzz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/usr.bin/ssh/unittests/test_helper/fuzz.c b/regress/usr.bin/ssh/unittests/test_helper/fuzz.c index 4f14217d559..581ca5b29c1 100644 --- a/regress/usr.bin/ssh/unittests/test_helper/fuzz.c +++ b/regress/usr.bin/ssh/unittests/test_helper/fuzz.c @@ -168,7 +168,7 @@ fuzz_dump(struct fuzz *fuzz) } struct fuzz * -fuzz_begin(u_int strategies, void *p, size_t l) +fuzz_begin(u_int strategies, const void *p, size_t l) { struct fuzz *ret = calloc(sizeof(*ret), 1); |