Mercurial > dropbear
diff fuzz/fuzzer-pubkey.c @ 1777:97ad26e397a5
Add server postauth fuzzer, wrap connect_remote()
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 13 Nov 2020 23:18:05 +0800 |
parents | d5680e12ac33 |
children |
line wrap: on
line diff
--- a/fuzz/fuzzer-pubkey.c Fri Nov 13 23:16:50 2020 +0800 +++ b/fuzz/fuzzer-pubkey.c Fri Nov 13 23:18:05 2020 +0800 @@ -27,7 +27,7 @@ unsigned int algolen; char* algoname = buf_getstring(keyblob, &algolen); - if (signature_type_from_name(algoname, algolen) == DROPBEAR_SIGNKEY_NONE) { + if (signature_type_from_name(algoname, algolen) == DROPBEAR_SIGNATURE_NONE) { dropbear_exit("fuzzer imagined a bogus algorithm"); }