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

Moved last occurrence of ns_g_entropy to named_g_entropy

This commit is contained in:
Francis Dupont
2017-09-17 09:50:10 +02:00
parent 6e5ae91479
commit aed87173fd

View File

@@ -8297,7 +8297,7 @@ load_configuration(const char *filename, named_server_t *server,
const char *randomdev = cfg_obj_asstring(obj);
#ifdef ISC_PLATFORM_CRYPTORANDOM
if (strcmp(randomdev, ISC_PLATFORM_CRYPTORANDOM) == 0)
isc_entropy_usehook(ns_g_entropy, ISC_TRUE);
isc_entropy_usehook(named_g_entropy, ISC_TRUE);
#else
int level = ISC_LOG_ERROR;
result = isc_entropy_createfilesource(named_g_entropy,