[openssh-commits] [openssh] 02/03: unbreak fuzzers - missing pkcs11_make_cert()
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Jan 8 14:46:40 AEDT 2024
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit fc332cb2d602c60983a8ec9f89412754ace06425
Author: Damien Miller <djm at mindrot.org>
Date: Mon Jan 8 14:45:49 2024 +1100
unbreak fuzzers - missing pkcs11_make_cert()
provide stub for use in fuzzer harness
---
regress/misc/fuzz-harness/agent_fuzz_helper.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/regress/misc/fuzz-harness/agent_fuzz_helper.c b/regress/misc/fuzz-harness/agent_fuzz_helper.c
index 1d419820..c3051c72 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 */
+}
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list