mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
Moved last occurrence of ns_g_entropy to named_g_entropy
This commit is contained in:
@@ -8297,7 +8297,7 @@ load_configuration(const char *filename, named_server_t *server,
|
|||||||
const char *randomdev = cfg_obj_asstring(obj);
|
const char *randomdev = cfg_obj_asstring(obj);
|
||||||
#ifdef ISC_PLATFORM_CRYPTORANDOM
|
#ifdef ISC_PLATFORM_CRYPTORANDOM
|
||||||
if (strcmp(randomdev, ISC_PLATFORM_CRYPTORANDOM) == 0)
|
if (strcmp(randomdev, ISC_PLATFORM_CRYPTORANDOM) == 0)
|
||||||
isc_entropy_usehook(ns_g_entropy, ISC_TRUE);
|
isc_entropy_usehook(named_g_entropy, ISC_TRUE);
|
||||||
#else
|
#else
|
||||||
int level = ISC_LOG_ERROR;
|
int level = ISC_LOG_ERROR;
|
||||||
result = isc_entropy_createfilesource(named_g_entropy,
|
result = isc_entropy_createfilesource(named_g_entropy,
|
||||||
|
Reference in New Issue
Block a user