summaryrefslogtreecommitdiff
path: root/src/tls/rsa.c
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2010-06-13 20:32:04 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2010-06-13 20:32:04 +0000
commit95ea342968b919b418b028d9360eedf685a55220 (patch)
tree538db23d436787038f980271529ae2be44235c1b /src/tls/rsa.c
parent6cb83b2c027206298153773f39b17f2f52ab99e0 (diff)
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 bfc0d5222495d..4965a2a311cc6 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 */
/**