From 4a44b85e6eacfbb8082cb7dba8146bdfec232bb3 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 28 Jun 2000 05:24:41 +0000 Subject: [PATCH] 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. --- lib/omapi/message.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/omapi/message.c b/lib/omapi/message.c index f943cbd5cb..7e2cec2a19 100644 --- a/lib/omapi/message.c +++ b/lib/omapi/message.c @@ -15,7 +15,7 @@ * 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. @@ -502,9 +502,11 @@ message_process(omapi_object_t *mo, omapi_object_t *po) { * All messages except for the first attempt to set * 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) return (send_status(po, ISC_R_NOPERM, message->id, "unauthorized access")); +#endif /* notyet */ /* * 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) return (ISC_R_UNEXPECTED); +#ifdef notyet /* not for 9.0.0 */ if (protocol->key == NULL) return (send_status(po, ISC_R_NOPERM, message->id, "unauthorized access")); +#endif /* notyet */ refresh: result = handle_lookup(&object, message->h);