mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
Disable the requirement that all messages be signed, since this
will not work until the "controls" statement is implemented in named.conf post-9.0.0.
This commit is contained in:
parent
8b31f5630f
commit
4a44b85e6e
@ -15,7 +15,7 @@
|
|||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: message.c,v 1.25 2000/06/23 21:28:30 tale Exp $ */
|
/* $Id: message.c,v 1.26 2000/06/28 05:24:41 tale Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Subroutines for dealing with message objects.
|
* Subroutines for dealing with message objects.
|
||||||
@ -502,9 +502,11 @@ message_process(omapi_object_t *mo, omapi_object_t *po) {
|
|||||||
* All messages except for the first attempt to set
|
* All messages except for the first attempt to set
|
||||||
* the dst key used by the protocol must be signed.
|
* the dst key used by the protocol must be signed.
|
||||||
*/
|
*/
|
||||||
|
#ifdef notyet /* not for 9.0.0 */
|
||||||
if (type != omapi_type_protocol && protocol->key == NULL)
|
if (type != omapi_type_protocol && protocol->key == NULL)
|
||||||
return (send_status(po, ISC_R_NOPERM, message->id,
|
return (send_status(po, ISC_R_NOPERM, message->id,
|
||||||
"unauthorized access"));
|
"unauthorized access"));
|
||||||
|
#endif /* notyet */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If we weren't given a type, look the object up with
|
* If we weren't given a type, look the object up with
|
||||||
@ -609,9 +611,11 @@ message_process(omapi_object_t *mo, omapi_object_t *po) {
|
|||||||
if (connection->is_client)
|
if (connection->is_client)
|
||||||
return (ISC_R_UNEXPECTED);
|
return (ISC_R_UNEXPECTED);
|
||||||
|
|
||||||
|
#ifdef notyet /* not for 9.0.0 */
|
||||||
if (protocol->key == NULL)
|
if (protocol->key == NULL)
|
||||||
return (send_status(po, ISC_R_NOPERM, message->id,
|
return (send_status(po, ISC_R_NOPERM, message->id,
|
||||||
"unauthorized access"));
|
"unauthorized access"));
|
||||||
|
#endif /* notyet */
|
||||||
|
|
||||||
refresh:
|
refresh:
|
||||||
result = handle_lookup(&object, message->h);
|
result = handle_lookup(&object, message->h);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user