From 4bbaa2c677edb5463bbcf93cb97c34f71c5965a0 Mon Sep 17 00:00:00 2001 From: djm Date: Tue, 2 Nov 2021 22:57:27 +0000 Subject: [PATCH] crank SSH_SK_VERSION_MAJOR to match recent change in usr/bin/ssh --- regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c b/regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c index 0fe453b7f2d..1e1361009d0 100644 --- a/regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c +++ b/regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c @@ -44,7 +44,7 @@ } while (0) #endif -#if SSH_SK_VERSION_MAJOR != 0x00080000 +#if SSH_SK_VERSION_MAJOR != 0x00090000 # error SK API has changed, sk-dummy.c needs an update #endif @@ -241,6 +241,7 @@ sk_enroll(uint32_t alg, const uint8_t *challenge, size_t challenge_len, skdebug(__func__, "calloc response failed"); goto out; } + response->flags = flags; switch(alg) { case SSH_SK_ECDSA: if (pack_key_ecdsa(response) != 0) -- 2.20.1