Skip to content

Commit

Permalink
eap_tls_free doesn't exist anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Oct 18, 2015
1 parent 67e2757 commit 53dc397
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/modules/rlm_eap/libeap/eap_tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ int eap_tls_compose(eap_round_t *eap_round, eap_tls_packet_t *reply)
/*
* When the EAP server receives an EAP-Response with the
* M bit set, it MUST respond with an EAP-Request with
* EAP-Type=EAP-TLS and no data. This serves as a
* EAP-Type = EAP-TLS and no data. This serves as a
* fragment ACK. The EAP peer MUST wait until it receives
* the EAP-Request before sending another fragment.
*
Expand All @@ -106,7 +106,7 @@ int eap_tls_compose(eap_round_t *eap_round, eap_tls_packet_t *reply)
* Identifier value for each fragment ACK contained
* within an EAP-Request, and the peer MUST include this
* Identifier value in the subsequent fragment contained
* within an EAP- Reponse.
* within an EAP-Reponse.
*/
eap_round->request->type.data = talloc_array(eap_round->request, uint8_t, reply->length - TLS_HEADER_LEN + 1);
if (!eap_round->request->type.data) return -1;
Expand Down
9 changes: 4 additions & 5 deletions src/modules/rlm_eap/libeap/eap_tls.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,10 @@ typedef struct tls_packet {

/* EAP-TLS framework */
eap_tls_packet_t *eap_tls_alloc(void);
void eap_tls_free(eap_tls_packet_t **eap_tls_data_ptr);
tls_session_t *eap_tls_session(eap_session_t *eap_session, fr_tls_server_conf_t *tls_conf, bool client_cert);
int eap_tls_start(eap_round_t *eap_round, int peap);
int eap_tls_compose(eap_round_t *eap_round, eap_tls_packet_t *reply);
tls_session_t *eap_tls_session(eap_session_t *eap_session, fr_tls_server_conf_t *tls_conf, bool client_cert);
int eap_tls_start(eap_round_t *eap_round, int peap);
int eap_tls_compose(eap_round_t *eap_round, eap_tls_packet_t *reply);

fr_tls_server_conf_t *eap_tls_conf_parse(CONF_SECTION *cs, char const *key);
fr_tls_server_conf_t *eap_tls_conf_parse(CONF_SECTION *cs, char const *key);

#endif /*_EAP_TLS_H*/

0 comments on commit 53dc397

Please sign in to comment.