/* This function frees any allocated memory for output buffers and resets output state.  */
void eap_peer_tls_reset_output(struct eap_ssl_data *data)
/* This function frees any allocated memory for output buffers and resets output state.  */
void eap_peer_tls_reset_output(struct eap_ssl_data *data)
{
	data->tls_out_pos = 0;
	wpabuf_free(data->tls_out);
	data->tls_out = NULL;
}