]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Moved last occurrence of ns_g_entropy to named_g_entropy
authorFrancis Dupont <fdupont@isc.org>
Sun, 17 Sep 2017 07:50:10 +0000 (09:50 +0200)
committerFrancis Dupont <fdupont@isc.org>
Sun, 17 Sep 2017 07:50:10 +0000 (09:50 +0200)
bin/named/server.c

index 4454f67284b26bb0007d1f1be22fc3803609abdf..4ef0b519ab4bca314395a6ea14a23043e8f64321 100644 (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,