From: Vladimír Čunát Date: Fri, 23 Feb 2024 09:07:35 +0000 (+0100) Subject: lib/cache: bump CACHE_VERSION X-Git-Tag: v5.7.2~3^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fenvironments%2Fdocs-develop-keyt-jagcwb%2Fdeployments%2F3331;p=thirdparty%2Fknot-resolver.git lib/cache: bump CACHE_VERSION Ideally we would've done that at once with increasing NSEC3 strictness, i.e. in 5.7.1 + 6.0.6, as otherwise we could run into some recoverable assertions until the records got removed or expired. We at least do the bump now. --- diff --git a/lib/cache/api.c b/lib/cache/api.c index bb627ea7c..f71a8d0f0 100644 --- a/lib/cache/api.c +++ b/lib/cache/api.c @@ -40,7 +40,7 @@ /** Cache version */ -static const uint16_t CACHE_VERSION = 6; +static const uint16_t CACHE_VERSION = 7; /** Key size */ #define KEY_HSIZE (sizeof(uint8_t) + sizeof(uint16_t)) #define KEY_SIZE (KEY_HSIZE + KNOT_DNAME_MAXLEN)