lib/tls.c
/* This function will deinitialize a previously initialed DTLS or TLS session.
 *
 * @param rh the configuration handle.
 */
This function will deinitialize a previously initialed DTLS or TLS session.
@param rh the configuration handle.
This function will deinitialize a previously initialed DTLS or TLS session . @param rh the configuration handle .
void rc_deinit_tls(rc_handle * rh)
{
	tls_st *st = rh->so.ptr;
	if (st) {
		if (st->ctx.init != 0)
			deinit_session(&st->ctx);
	}
	free(st);
}
void rc_deinit_tls ( rc_handle * rh ) { tls_st * st = rh -> so . ptr ; if ( st ) { if ( st -> ctx . init != 0 ) deinit_session ( & st -> ctx ) ; } free ( st ) ; }
This function will deinitialize a previously initialed DTLS or TLS session.
This function will deinitialize a previously initialed DTLS or TLS session .