Skip to content

Commit

Permalink
Fix incorrect hostkey for fuzzer-kexsntrup-cli.c
Browse files Browse the repository at this point in the history
  • Loading branch information
mkj committed Dec 16, 2024
1 parent 22a7c86 commit ae62f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuzz/fuzzer-kexsntrup-cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {

if (setjmp(fuzz.jmp) == 0) {
/* Arbitrary key to write into a buffer */
sign_key *hostkey = cli_opts.privkeys->first;
sign_key *hostkey = cli_opts.privkeys->first->item;
ses.newkeys = keep_newkeys;

struct kex_pqhybrid_param *param = gen_kexpqhybrid_param();
Expand Down

0 comments on commit ae62f20

Please sign in to comment.