2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Remove named_g_sessionkey and named_g_sessionkeyname

They are only declared and cleaned up but otherwise unused.
This commit is contained in:
Mark Andrews
2024-11-06 10:23:22 +11:00
parent 4b47c4f628
commit f70ff727ec
2 changed files with 0 additions and 6 deletions

View File

@@ -98,8 +98,6 @@ EXTERN const char *named_g_conffile INIT(NAMED_SYSCONFDIR "/named.conf");
EXTERN const char *named_g_defaultbindkeys INIT(NULL);
EXTERN const char *named_g_keyfile INIT(NAMED_SYSCONFDIR "/rndc.key");
EXTERN dns_tsigkey_t *named_g_sessionkey INIT(NULL);
EXTERN dns_name_t named_g_sessionkeyname;
EXTERN bool named_g_conffileset INIT(false);
EXTERN cfg_aclconfctx_t *named_g_aclconfctx INIT(NULL);

View File

@@ -9730,10 +9730,6 @@ shutdown_server(void *arg) {
dns_zonemgr_shutdown(server->zonemgr);
if (named_g_sessionkey != NULL) {
dns_tsigkey_detach(&named_g_sessionkey);
dns_name_free(&named_g_sessionkeyname, server->mctx);
}
#if defined(HAVE_GEOIP2)
named_geoip_shutdown();
#endif /* HAVE_GEOIP2 */