Put sshsk_sign call inside ifdef ENABLE_SK.
Fixes build against OpenSSL configured without ECC.
This commit is contained in:
parent
546274a6f8
commit
1e0b248d47
2
sshkey.c
2
sshkey.c
|
@ -2775,11 +2775,13 @@ sshkey_sign(struct sshkey *key,
|
|||
case KEY_ED25519_CERT:
|
||||
r = ssh_ed25519_sign(key, sigp, lenp, data, datalen, compat);
|
||||
break;
|
||||
#ifdef ENABLE_SK
|
||||
case KEY_ED25519_SK:
|
||||
case KEY_ED25519_SK_CERT:
|
||||
r = sshsk_sign(sk_provider, key, sigp, lenp, data, datalen,
|
||||
compat);
|
||||
break;
|
||||
#endif /* ENABLE_SK */
|
||||
#ifdef WITH_XMSS
|
||||
case KEY_XMSS:
|
||||
case KEY_XMSS_CERT:
|
||||
|
|
Loading…
Reference in New Issue