mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-17 23:54:35 +00:00
upstream: crank SSH_SK_VERSION_MAJOR to match recent change in
usr/bin/ssh OpenBSD-Regress-ID: 113d181c7e3305e138db9b688cdb8b0a0019e552
This commit is contained in:
parent
f3c34df860
commit
ed45a01686
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user