unbreak fuzzers - missing pkcs11_make_cert()

provide stub for use in fuzzer harness
This commit is contained in:
Damien Miller 2024-01-08 14:45:49 +11:00
parent 9ea0a4524a
commit fc332cb2d6
No known key found for this signature in database
1 changed files with 7 additions and 0 deletions

View File

@ -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 */
}