aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2005-12-15 03:55:35 (GMT)
committerJouni Malinen <j@w1.fi>2005-12-15 03:55:35 (GMT)
commit88711969fc7fb0457cbc08b0ca823264703aa71c (patch)
tree29f5dcaeece5444b150c52c82a74271a16f55798
parentcb86884bd3861ff1a0386c7cd638df705f111f6b (diff)
downloadhostap-history-88711969fc7fb0457cbc08b0ca823264703aa71c.zip
hostap-history-88711969fc7fb0457cbc08b0ca823264703aa71c.tar.gz
hostap-history-88711969fc7fb0457cbc08b0ca823264703aa71c.tar.bz2
Added a dummy implementation of tls_connection_get_keyblock_size() to
allow linking with EAP-FAST code. Added GnuTLS 1.2.9 to the list of tested versions.
-rw-r--r--wpa_supplicant/tls_gnutls.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/wpa_supplicant/tls_gnutls.c b/wpa_supplicant/tls_gnutls.c
index ea5590f..ff10a11 100644
--- a/wpa_supplicant/tls_gnutls.c
+++ b/wpa_supplicant/tls_gnutls.c
@@ -110,7 +110,8 @@ void * tls_init(const struct tls_config *conf)
* that is expected to have same structure definition for the session
* data.. */
const char *ver;
- const char *ok_ver[] = { "1.2.3", "1.2.4", "1.2.5", "1.2.6", NULL };
+ const char *ok_ver[] = { "1.2.3", "1.2.4", "1.2.5", "1.2.6", "1.2.9",
+ NULL };
int i;
if (gnutls_global_init() < 0)
@@ -783,3 +784,11 @@ int tls_connection_get_write_alerts(void *ssl_ctx, struct tls_connection *conn)
return -1;
return conn->write_alerts;
}
+
+
+int tls_connection_get_keyblock_size(void *tls_ctx,
+ struct tls_connection *conn)
+{
+ /* TODO */
+ return -1;
+}