From ae62f2056878657e7ec08ad16eac141fc2e5ea9c Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Mon, 16 Dec 2024 14:30:49 +0800 Subject: [PATCH] Fix incorrect hostkey for fuzzer-kexsntrup-cli.c --- fuzz/fuzzer-kexsntrup-cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzz/fuzzer-kexsntrup-cli.c b/fuzz/fuzzer-kexsntrup-cli.c index 7753034a..b4c0412f 100644 --- a/fuzz/fuzzer-kexsntrup-cli.c +++ b/fuzz/fuzzer-kexsntrup-cli.c @@ -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();