summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2021-11-02 22:57:28 +0000
committerDamien Miller <djm@cvs.openbsd.org>2021-11-02 22:57:28 +0000
commit8af29f85566a2633144accfeb2b62401a1cfad6c (patch)
tree056b9fab5c709a349619442787eed5fe1d141141 /regress
parent132f7adc2ed90cb8d8855486857be05b25058af4 (diff)
crank SSH_SK_VERSION_MAJOR to match recent change in usr/bin/ssh
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c3
1 files changed, 2 insertions, 1 deletions
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)