diff options
author | Damien Miller <djm@mindrot.org> | 2024-06-18 04:29:45 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2024-06-18 04:29:45 +0200 |
commit | 761438012710169445acc179e3870c53c862bda0 (patch) | |
tree | f00789ea6042b3f30dc2f48f09465ad07e409345 /regress | |
parent | DSA support is disabled, so remove from fuzzers (diff) | |
download | openssh-761438012710169445acc179e3870c53c862bda0.tar.xz openssh-761438012710169445acc179e3870c53c862bda0.zip |
missed a bit of DSA in the fuzzer
Diffstat (limited to 'regress')
-rw-r--r-- | regress/misc/fuzz-harness/sig_fuzz.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/regress/misc/fuzz-harness/sig_fuzz.cc b/regress/misc/fuzz-harness/sig_fuzz.cc index ac63bdf5c..639e4d227 100644 --- a/regress/misc/fuzz-harness/sig_fuzz.cc +++ b/regress/misc/fuzz-harness/sig_fuzz.cc @@ -40,19 +40,20 @@ int LLVMFuzzerTestOneInput(const uint8_t* sig, size_t slen) sshkey_verify(rsa, sig, slen, (const u_char *)data, dlen, NULL, 0, &details); sshkey_sig_details_free(details); details = NULL; - sshkey_verify(dsa, sig, slen, (const u_char *)data, dlen, NULL, 0, &details); - sshkey_sig_details_free(details); - details = NULL; + sshkey_verify(ecdsa256, sig, slen, (const u_char *)data, dlen, NULL, 0, &details); sshkey_sig_details_free(details); details = NULL; + sshkey_verify(ecdsa384, sig, slen, (const u_char *)data, dlen, NULL, 0, &details); sshkey_sig_details_free(details); details = NULL; + sshkey_verify(ecdsa521, sig, slen, (const u_char *)data, dlen, NULL, 0, &details); sshkey_sig_details_free(details); details = NULL; #endif + sshkey_verify(ed25519, sig, slen, (const u_char *)data, dlen, NULL, 0, &details); sshkey_sig_details_free(details); return 0; |