]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Cleanup unused constant
authorMatthijs Mekking <matthijs@isc.org>
Mon, 22 Sep 2025 09:24:18 +0000 (11:24 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Wed, 24 Sep 2025 15:03:06 +0000 (17:03 +0200)
The DST_ALGORITHM_FORMATSIZE constant is unused. It could be used in
dst_kasp_key_format, but instead we will use DNS_NAME_FORMATSIZE
because it is used in other places too. Clean up the unused constant.

lib/dns/include/dst/dst.h

index 25b541385660d4cca1cfb5d1743ac6003f3c5a23..f3eaa538346a4bf83b611c9ab35927e3f8519b32 100644 (file)
@@ -1221,7 +1221,6 @@ dst_algorithm_totext(dst_algorithm_t alg, isc_buffer_t *target);
  *\li   ISC_R_NOSPACE                   target buffer is too small
  */
 
-#define DST_ALGORITHM_FORMATSIZE 20
 void
 dst_algorithm_format(dst_algorithm_t dst_alg, char *data, unsigned int length);
 /*%<