aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/rsa.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-05-26 14:09:04 (GMT)
committerJouni Malinen <j@w1.fi>2009-05-26 14:09:04 (GMT)
commitb63303b86432561988ebaa61e13bc9c74457d7cf (patch)
tree205ce5cb65df72e8d5381d29132968d65a2c616f /src/tls/rsa.c
parent9f64b827c35f93aa4515fcf84a27fa209fa550c8 (diff)
downloadhostap-b63303b86432561988ebaa61e13bc9c74457d7cf.zip
hostap-b63303b86432561988ebaa61e13bc9c74457d7cf.tar.gz
hostap-b63303b86432561988ebaa61e13bc9c74457d7cf.tar.bz2
hostapd: Fix internal crypto build without TLS
Diffstat (limited to 'src/tls/rsa.c')
-rw-r--r--src/tls/rsa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tls/rsa.c b/src/tls/rsa.c
index bfc0d52..4965a2a 100644
--- a/src/tls/rsa.c
+++ b/src/tls/rsa.c
@@ -35,6 +35,7 @@ struct crypto_rsa_key {
};
+#ifdef EAP_TLS_FUNCS
static const u8 * crypto_rsa_parse_integer(const u8 *pos, const u8 *end,
struct bignum *num)
{
@@ -223,6 +224,7 @@ error:
crypto_rsa_free(key);
return NULL;
}
+#endif /* EAP_TLS_FUNCS */
/**