From 69e8bb2e8d61a8e7b2a889eaae9722a4e5ed51c6 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Tue, 24 Aug 2010 11:34:43 +0200 Subject: Pass NULL peer identity to omit TLS peer authentication, added eap-ttls.request_peer_auth option --- src/libcharon/plugins/eap_ttls/eap_ttls_avp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libcharon/plugins/eap_ttls/eap_ttls_avp.c') diff --git a/src/libcharon/plugins/eap_ttls/eap_ttls_avp.c b/src/libcharon/plugins/eap_ttls/eap_ttls_avp.c index a621ffc3e..0eb5e94be 100644 --- a/src/libcharon/plugins/eap_ttls/eap_ttls_avp.c +++ b/src/libcharon/plugins/eap_ttls/eap_ttls_avp.c @@ -110,7 +110,7 @@ METHOD(eap_ttls_avp_t, process, status_t, } /* parse AVP header */ - header = tls_reader_create(this->input); + header = tls_reader_create(this->input); success = header->read_uint32(header, &avp_code) && header->read_uint8(header, &avp_flags) && header->read_uint24(header, &avp_len); @@ -154,7 +154,7 @@ METHOD(eap_ttls_avp_t, process, status_t, this->inpos = 0; this->process_header = TRUE; - return SUCCESS; + return SUCCESS; } METHOD(eap_ttls_avp_t, destroy, void, -- cgit v1.2.3