mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 08:54:42 -04:00
Use ISC_R_NOTIMPLEMENTED to indicate an unsupported algorithm, not
DST_R_UNSUPPORTEDALG.
This commit is contained in:
parent
c47ca47629
commit
c7c9f4a989
2 changed files with 4 additions and 4 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: auth.c,v 1.19 2001/02/16 00:21:08 bwelling Exp $ */
|
||||
/* $Id: auth.c,v 1.20 2001/02/16 00:54:27 bwelling Exp $ */
|
||||
|
||||
/* Principal Author: DCL */
|
||||
|
||||
|
|
@ -88,7 +88,7 @@ auth_find(const char *name, unsigned int algorithm, auth_t **ap) {
|
|||
result = ISC_R_NOTFOUND;
|
||||
|
||||
else if (algorithm != 0 && (algorithm & a->algorithms) != algorithm)
|
||||
result = DST_R_UNSUPPORTEDALG;
|
||||
result = ISC_R_NOTIMPLEMENTED;
|
||||
|
||||
else {
|
||||
ENSURE(VALID_AUTH(a));
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: protocol.c,v 1.35 2001/02/16 00:21:09 bwelling Exp $ */
|
||||
/* $Id: protocol.c,v 1.36 2001/02/16 00:54:28 bwelling Exp $ */
|
||||
|
||||
/*
|
||||
* Functions supporting the object management protocol.
|
||||
|
|
@ -702,7 +702,7 @@ protocol_setvalue(omapi_object_t *h, omapi_string_t *name, omapi_data_t *value)
|
|||
/*
|
||||
* XXXDCL better error?
|
||||
*/
|
||||
return (DST_R_UNSUPPORTEDALG);
|
||||
return (ISC_R_NOTIMPLEMENTED);
|
||||
|
||||
} else
|
||||
return (omapi_object_passsetvalue(h, name, value));
|
||||
|
|
|
|||
Loading…
Reference in a new issue