Correct a backport inconsistency in bind-9.11-rt46047.patch
The patch seems to have been generated from a more recent bind tree in which `ns_g_lctx` was renamed `named_g_lctx`. So the patch uses the `named_g_lctx` name, but the rest of server.c in bind-9.11 still uses the name `ns_g_lctx`, so if you compile with --disable-crypto-rand, the build actually fails with an undeclared name error.
This commit is contained in:
parent
cc43f811ad
commit
bb9dac4e90
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ index ca789e5..1413e85 100644
|
|||
- randomdev);
|
||||
+ if ((obj != NULL) && !cfg_obj_isvoid(obj))
|
||||
+ level = ISC_LOG_INFO;
|
||||
+ isc_log_write(named_g_lctx, NS_LOGCATEGORY_GENERAL,
|
||||
+ isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
|
||||
+ NS_LOGMODULE_SERVER, level,
|
||||
+ "no source of entropy found");
|
||||
+ if ((obj == NULL) || cfg_obj_isvoid(obj)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue