This is done by the gnutls library constructor/destructor.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
/* At which level we start to add more debug of what is done in the protocol */
const int debuglevel = 4;
- gnutls_global_init();
-
if (DEBUGLVL(debuglevel)) {
const struct tsocket_address *remote_address;
remote_address = dcesrv_connection_get_remote_address(dce_call->conn);
}
/*else: I am a RODC so I don't handle backup key protocol */
- gnutls_global_deinit();
talloc_unlink(mem_ctx, ldb_ctx);
return error;
}