aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tlsv1_client.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-06 14:20:32 (GMT)
committerJouni Malinen <j@w1.fi>2009-12-06 14:20:32 (GMT)
commite77e0a8320f4f92eeebfa222d97c338e4f3c4666 (patch)
tree8896a53354cf66101f79875933fb2f00135af27c /src/tls/tlsv1_client.c
parent1a7077786821d7ce20379ffe48fb83ed1e364f41 (diff)
downloadhostap-e77e0a8320f4f92eeebfa222d97c338e4f3c4666.zip
hostap-e77e0a8320f4f92eeebfa222d97c338e4f3c4666.tar.gz
hostap-e77e0a8320f4f92eeebfa222d97c338e4f3c4666.tar.bz2
Include functionality to support EAP-FAST unconditionally
Clean up the internal TLS implementation by removing conditional build blocks for (mostly) EAP-FAST specific functionality. This will increase the size a big for non-EAP-FAST builds, but is quite helpful in making src/tls/libtls.a with single build options. If the potential size reduction is considered significant in the future, this can be reconsider with a more library compatible way (e.g., external file with registration function, etc.).
Diffstat (limited to 'src/tls/tlsv1_client.c')
-rw-r--r--src/tls/tlsv1_client.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tls/tlsv1_client.c b/src/tls/tlsv1_client.c
index 2197785..afb6031 100644
--- a/src/tls/tlsv1_client.c
+++ b/src/tls/tlsv1_client.c
@@ -605,7 +605,6 @@ int tlsv1_client_get_keyblock_size(struct tlsv1_client *conn)
*/
int tlsv1_client_set_cipher_list(struct tlsv1_client *conn, u8 *ciphers)
{
-#ifdef EAP_FAST
size_t count;
u16 *suites;
@@ -635,9 +634,6 @@ int tlsv1_client_set_cipher_list(struct tlsv1_client *conn, u8 *ciphers)
}
return 0;
-#else /* EAP_FAST */
- return -1;
-#endif /* EAP_FAST */
}