From b01324ef0781278578c84fd4606bf5f6f613c099 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Wed, 7 Jun 2000 19:18:53 +0000 Subject: [PATCH] Removed unused DST_R_NAMETOOLONG result code --- lib/dns/sec/dst/dst_result.c | 4 ++-- lib/dns/sec/dst/include/dst/result.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dns/sec/dst/dst_result.c b/lib/dns/sec/dst/dst_result.c index efeca0ce97..26d8541306 100644 --- a/lib/dns/sec/dst/dst_result.c +++ b/lib/dns/sec/dst/dst_result.c @@ -17,7 +17,7 @@ /* * Principal Author: Brian Wellington - * $Id: dst_result.c,v 1.11 2000/06/06 21:58:09 bwelling Exp $ + * $Id: dst_result.c,v 1.12 2000/06/07 19:18:51 bwelling Exp $ */ #include @@ -35,7 +35,7 @@ static const char *text[DST_R_NRESULTS] = { "illegal operation for a null key", /* 3 */ "public key is invalid", /* 4 */ "private key is invalid", /* 5 */ - "key name is too long", /* 6 */ + "UNUSED6", /* 6 */ "error occurred writing key to disk", /* 7 */ "invalid algorithm specific parameter", /* 8 */ "UNUSED9", /* 9 */ diff --git a/lib/dns/sec/dst/include/dst/result.h b/lib/dns/sec/dst/include/dst/result.h index a01ab860b6..6dfadbe6e3 100644 --- a/lib/dns/sec/dst/include/dst/result.h +++ b/lib/dns/sec/dst/include/dst/result.h @@ -35,7 +35,7 @@ #define DST_R_NULLKEY (ISC_RESULTCLASS_DST + 3) #define DST_R_INVALIDPUBLICKEY (ISC_RESULTCLASS_DST + 4) #define DST_R_INVALIDPRIVATEKEY (ISC_RESULTCLASS_DST + 5) -#define DST_R_NAMETOOLONG (ISC_RESULTCLASS_DST + 6) +/* 6 is unused */ #define DST_R_WRITEERROR (ISC_RESULTCLASS_DST + 7) #define DST_R_INVALIDPARAM (ISC_RESULTCLASS_DST + 8) /* 9 is unused */