pki: Fix build without ECC support.
Signed-off-by: Andreas Schneider <asn@samba.org>
Этот коммит содержится в:
родитель
c2ee63431b
Коммит
83633d539e
@ -109,7 +109,12 @@ enum ssh_keytypes_e pki_privatekey_type_from_string(const char *privkey) {
|
||||
*/
|
||||
const char *ssh_pki_key_ecdsa_name(const ssh_key key)
|
||||
{
|
||||
#ifdef HAVE_OPENSSL_ECC /* FIXME Better ECC check needed */
|
||||
return pki_key_ecdsa_nid_to_name(key->ecdsa_nid);
|
||||
#else
|
||||
(void) key; /* unused */
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user