From 1327839da8e92c101dbe160d6e82d83b5ed6e788 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Thu, 12 Aug 2010 23:56:44 +0200 Subject: added generic TLS application data handler and specific EAP-TTLS instantiation --- src/libtls/tls.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/libtls/tls.h') diff --git a/src/libtls/tls.h b/src/libtls/tls.h index 923c87ae1..ea66b7661 100644 --- a/src/libtls/tls.h +++ b/src/libtls/tls.h @@ -33,6 +33,8 @@ typedef struct tls_t tls_t; #include +#include "tls_application.h" + /** * TLS/SSL version numbers */ @@ -163,9 +165,11 @@ struct tls_t { * @param server server identity * @param peer peer identity * @param msk_label ASCII string constant used as seed for MSK PRF + * @param application higher layer application or NULL if none * @return TLS stack */ tls_t *tls_create(bool is_server, identification_t *server, - identification_t *peer, char *msk_label); + identification_t *peer, char *msk_label, + tls_application_t *application); #endif /** TLS_H_ @}*/ -- cgit v1.2.3