diff options
author | Matt Johnston <matt@ucc.asn.au> | 2020-05-26 23:13:23 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2020-05-26 23:13:23 +0800 |
commit | 1a92aff60c3606a189a0cb95ed4d0cf5b612e036 (patch) | |
tree | bc2f6fb0e0b0e2332d6ceffd7b9abf0f9ca16d33 | |
parent | eea05aefbb9e83461c6b4e33315e9422e812fc5d (diff) | |
download | dropbear-1a92aff60c3606a189a0cb95ed4d0cf5b612e036.tar.gz |
Fix untested rsa-sha256 change to fuzzer-verify
-rw-r--r-- | fuzzer-verify.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fuzzer-verify.c b/fuzzer-verify.c index cdf7804..a0ad086 100644 --- a/fuzzer-verify.c +++ b/fuzzer-verify.c @@ -2,6 +2,7 @@ #include "session.h" #include "fuzz-wrapfd.h" #include "debug.h" +#include "dss.h" static void setup_fuzzer(void) { fuzz_common_setup(); @@ -32,7 +33,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { enum signature_type sigtype; if (keytype == DROPBEAR_SIGNKEY_RSA) { /* Flip a coin to decide rsa signature type */ - int flag = buf_getbyte(fuzz_input); + int flag = buf_getbyte(fuzz.input); if (flag & 0x01) { sigtype = DROPBEAR_SIGNATURE_RSA_SHA256; } else { |