summaryrefslogtreecommitdiffstats
path: root/regress
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2024-01-08 04:45:49 +0100
committerDamien Miller <djm@mindrot.org>2024-01-08 04:45:49 +0100
commitfc332cb2d602c60983a8ec9f89412754ace06425 (patch)
treeb632c377b93b3448ce21f927f87292852cb1ad2b /regress
parentunbreak fuzzers for clang16 (diff)
downloadopenssh-fc332cb2d602c60983a8ec9f89412754ace06425.tar.xz
openssh-fc332cb2d602c60983a8ec9f89412754ace06425.zip
unbreak fuzzers - missing pkcs11_make_cert()
provide stub for use in fuzzer harness
Diffstat (limited to 'regress')
-rw-r--r--regress/misc/fuzz-harness/agent_fuzz_helper.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/regress/misc/fuzz-harness/agent_fuzz_helper.c b/regress/misc/fuzz-harness/agent_fuzz_helper.c
index 1d419820c..c3051c72b 100644
--- a/regress/misc/fuzz-harness/agent_fuzz_helper.c
+++ b/regress/misc/fuzz-harness/agent_fuzz_helper.c
@@ -175,3 +175,10 @@ test_one(const uint8_t* s, size_t slen)
cleanup_idtab();
cleanup_sockettab();
}
+
+int
+pkcs11_make_cert(const struct sshkey *priv,
+ const struct sshkey *certpub, struct sshkey **certprivp)
+{
+ return -1; /* XXX */
+}