max max_message_count configurable and move it into tls_eap_t

This commit is contained in:
Andreas Steffen
2010-09-08 12:58:45 +02:00
parent 99b0f633c2
commit de29e3a683
5 changed files with 37 additions and 39 deletions
+3 -1
View File
@@ -73,7 +73,9 @@ struct tls_eap_t {
* @param type EAP type, EAP-TLS or EAP-TTLS
* @param tls TLS implementation
* @param frag_size maximum size of a TLS fragment we send
* @param max_msg_count maximum number of processed messages
*/
tls_eap_t *tls_eap_create(eap_type_t type, tls_t *tls, size_t frag_size);
tls_eap_t *tls_eap_create(eap_type_t type, tls_t *tls, size_t frag_size,
int max_msg_count);
#endif /** TLS_EAP_H_ @}*/