From cfe90bc6bd2778475f07f8a45838393b2e3169a2 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Tue, 26 May 2020 23:13:23 +0800 Subject: Fix untested rsa-sha256 change to fuzzer-verify --- fuzzer-verify.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fuzzer-verify.c') 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 { -- cgit v1.2.3