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 2021-11-02 22:57:27 +00:00 committed by Damien Miller
parent f3c34df860
commit ed45a01686
1 changed files with 2 additions and 1 deletions

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)