/* This function deinitializes shared TLS functionality that was initialized with eap_peer_tls_ssl_init().  */
void eap_peer_tls_ssl_deinit(struct eap_sm *sm, struct eap_ssl_data *data)
/* This function deinitializes shared TLS functionality that was initialized with eap_peer_tls_ssl_init().  */
void eap_peer_tls_ssl_deinit(struct eap_sm *sm, struct eap_ssl_data *data)
{
	tls_connection_deinit(data->ssl_ctx, data->conn);
	eap_peer_tls_reset_input(data);
	eap_peer_tls_reset_output(data);
}