mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-09-26 11:29:04 +02: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 */
|
/* #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
|
# error SK API has changed, sk-dummy.c needs an update
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -260,6 +260,7 @@ sk_enroll(uint32_t alg, const uint8_t *challenge, size_t challenge_len,
|
|||||||
skdebug(__func__, "calloc response failed");
|
skdebug(__func__, "calloc response failed");
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
response->flags = flags;
|
||||||
switch(alg) {
|
switch(alg) {
|
||||||
case SSH_SK_ECDSA:
|
case SSH_SK_ECDSA:
|
||||||
if (pack_key_ecdsa(response) != 0)
|
if (pack_key_ecdsa(response) != 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user