Mercurial > dropbear
changeset 1688:e01f9ec6d177
Fix untested rsa-sha256 change to fuzzer-verify
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 26 May 2020 23:13:23 +0800 |
parents | f8d8af12ac14 |
children | d2d3b5ba6c64 |
files | fuzzer-verify.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/fuzzer-verify.c Tue May 26 20:15:39 2020 +0800 +++ b/fuzzer-verify.c Tue May 26 23:13:23 2020 +0800 @@ -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 @@ 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 {