upstream: crank SSH_SK_VERSION_MAJOR to match recent change in

usr/bin/ssh

OpenBSD-Regress-ID: 113d181c7e3305e138db9b688cdb8b0a0019e552
This commit is contained in:
djm@openbsd.org authored and Damien Miller committed 2021-11-03 10:10:09 +11:00
1 parent f3c34df860
commit ed45a01686
1 file changed
+2 -1
+2 -1
View File
@@ -59,7 +59,7 @@
/* #define SK_DEBUG 1 */
#if SSH_SK_VERSION_MAJOR != 0x00080000
#if SSH_SK_VERSION_MAJOR != 0x00090000
# error SK API has changed, sk-dummy.c needs an update
#endif
@@ -260,6 +260,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)