mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
"dnssec-lookaside auto" crashed if named was built without openssl [rt20231]
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: server.c,v 1.547 2009/09/04 00:49:50 marka Exp $ */
|
/* $Id: server.c,v 1.548 2009/09/10 01:49:29 each Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@@ -552,7 +552,6 @@ dstkey_fromconfig(const cfg_obj_t *vconfig, const cfg_obj_t *key,
|
|||||||
"ignoring %s key for '%s': no crypto support",
|
"ignoring %s key for '%s': no crypto support",
|
||||||
managed ? "managed" : "trusted",
|
managed ? "managed" : "trusted",
|
||||||
keynamestr);
|
keynamestr);
|
||||||
result = ISC_R_SUCCESS;
|
|
||||||
} else {
|
} else {
|
||||||
cfg_obj_log(key, ns_g_lctx, ISC_LOG_ERROR,
|
cfg_obj_log(key, ns_g_lctx, ISC_LOG_ERROR,
|
||||||
"configuring %s key for '%s': %s",
|
"configuring %s key for '%s': %s",
|
||||||
@@ -593,6 +592,8 @@ load_view_keys(const cfg_obj_t *keys, const cfg_obj_t *vconfig,
|
|||||||
}
|
}
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
|
if (result == DST_R_NOCRYPTO)
|
||||||
|
result = ISC_R_SUCCESS;
|
||||||
return (result);
|
return (result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user