/* This function frees any allocated memory for input buffers and resets input state.  */
void eap_peer_tls_reset_input(struct eap_ssl_data *data)
/* This function frees any allocated memory for input buffers and resets input state.  */
void eap_peer_tls_reset_input(struct eap_ssl_data *data)
{
	data->tls_in_left = data->tls_in_total = 0;
	wpabuf_free(data->tls_in);
	data->tls_in = NULL;
}