do not include length field in non-fragmented EAP-PEAP packets

This commit is contained in:
Andreas Steffen
2011-04-21 19:52:49 +02:00
parent c223ccd174
commit 2778b6644b
8 changed files with 81 additions and 21 deletions
+2 -1
View File
@@ -89,8 +89,9 @@ struct tls_eap_t {
* @param tls TLS implementation
* @param frag_size maximum size of a TLS fragment we send
* @param max_msg_count maximum number of processed messages
* @param include_length if TRUE include length in non-fragmented packets
*/
tls_eap_t *tls_eap_create(eap_type_t type, tls_t *tls, size_t frag_size,
int max_msg_count);
int max_msg_count, bool include_length);
#endif /** TLS_EAP_H_ @}*/