[openssh-commits] [openssh] 03/03: upstream: add a SK_DUMMY_INTEGRATE define that allows the dummy

git+noreply at mindrot.org git+noreply at mindrot.org
Sat Jan 30 11:58:47 AEDT 2021

This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 7c2e3d6de1f2edb0c8b4725b4c2b56360e032b19
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Sat Jan 30 00:56:38 2021 +0000

    upstream: add a SK_DUMMY_INTEGRATE define that allows the dummy
    security key middleware to be directly linked; useful for writing fuzzers,
    OpenBSD-Regress-ID: 0ebd00159b58ebd85e61d8270fc02f1e45df1544
 regress/misc/sk-dummy/sk-dummy.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/regress/misc/sk-dummy/sk-dummy.c b/regress/misc/sk-dummy/sk-dummy.c
index bf1feec1..4003362d 100644
--- a/regress/misc/sk-dummy/sk-dummy.c
+++ b/regress/misc/sk-dummy/sk-dummy.c
@@ -51,6 +51,13 @@
 # error SK API has changed, sk-dummy.c needs an update
+# define sk_api_version		ssh_sk_api_version
+# define sk_enroll		ssh_sk_enroll
+# define sk_sign		ssh_sk_sign
+# define sk_load_resident_keys	ssh_sk_load_resident_keys
+#endif /* !SK_STANDALONE */
 static void skdebug(const char *func, const char *fmt, ...)
     __attribute__((__format__ (printf, 2, 3)));

To stop receiving notification emails like this one, please contact
djm at mindrot.org.

More information about the openssh-commits mailing list