[openssh-commits] [openssh] 01/01: unbreak fuzz harness
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed Jan 3 19:51:04 AEDT 2018
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 4f29309c4cb19bcb1774931db84cacc414f17d29
Author: Damien Miller <djm at mindrot.org>
Date: Wed Jan 3 19:50:43 2018 +1100
unbreak fuzz harness
---
regress/misc/fuzz-harness/sig_fuzz.cc | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/regress/misc/fuzz-harness/sig_fuzz.cc b/regress/misc/fuzz-harness/sig_fuzz.cc
index 0e535b49..dd1fda09 100644
--- a/regress/misc/fuzz-harness/sig_fuzz.cc
+++ b/regress/misc/fuzz-harness/sig_fuzz.cc
@@ -37,13 +37,13 @@ int LLVMFuzzerTestOneInput(const uint8_t* sig, size_t slen)
static const size_t dlen = strlen(data);
#ifdef WITH_OPENSSL
- sshkey_verify(rsa, sig, slen, (const u_char *)data, dlen, 0);
- sshkey_verify(dsa, sig, slen, (const u_char *)data, dlen, 0);
- sshkey_verify(ecdsa256, sig, slen, (const u_char *)data, dlen, 0);
- sshkey_verify(ecdsa384, sig, slen, (const u_char *)data, dlen, 0);
- sshkey_verify(ecdsa521, sig, slen, (const u_char *)data, dlen, 0);
+ sshkey_verify(rsa, sig, slen, (const u_char *)data, dlen, NULL, 0);
+ sshkey_verify(dsa, sig, slen, (const u_char *)data, dlen, NULL, 0);
+ sshkey_verify(ecdsa256, sig, slen, (const u_char *)data, dlen, NULL, 0);
+ sshkey_verify(ecdsa384, sig, slen, (const u_char *)data, dlen, NULL, 0);
+ sshkey_verify(ecdsa521, sig, slen, (const u_char *)data, dlen, NULL, 0);
#endif
- sshkey_verify(ed25519, sig, slen, (const u_char *)data, dlen, 0);
+ sshkey_verify(ed25519, sig, slen, (const u_char *)data, dlen, NULL, 0);
return 0;
}
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list