hostapd: Fix internal crypto build without TLS
This commit is contained in:
parent
9f64b827c3
commit
b63303b864
3 changed files with 13 additions and 0 deletions
|
@ -435,6 +435,7 @@ struct crypto_public_key * crypto_public_key_import(const u8 *key, size_t len)
|
|||
}
|
||||
|
||||
|
||||
#ifdef EAP_TLS_FUNCS
|
||||
static struct crypto_private_key *
|
||||
crypto_pkcs8_key_import(const u8 *buf, size_t len)
|
||||
{
|
||||
|
@ -536,6 +537,7 @@ crypto_pkcs8_key_import(const u8 *buf, size_t len)
|
|||
return (struct crypto_private_key *)
|
||||
crypto_rsa_import_private_key(hdr.payload, hdr.length);
|
||||
}
|
||||
#endif /* EAP_TLS_FUNCS */
|
||||
|
||||
|
||||
struct crypto_private_key * crypto_private_key_import(const u8 *key,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue