From stu.lists at spacehopper.org Sun Nov 8 17:45:36 2026 From: stu.lists at spacehopper.org (Stuart Henderson) Date: Sun, 8 Nov 2026 17:45:36 -0000 (UTC) Subject: [squid-dev] nettle 4.0 b64 API change Message-ID: Hi, Nettle 4.0 changed the base64 API and now require that dst_length (the second argument) is set to the size of the destination buffer (third argument). The calls could be changed to set this, but I wonder, given that nettle is only used for b64/md5, is there actually any point in using it rather than the code currently used as fallback? From gkinkie at gmail.com Sun Nov 8 23:39:56 2026 From: gkinkie at gmail.com (Francesco Chemolli) Date: Sun, 8 Nov 2026 15:39:56 -0800 Subject: [squid-dev] nettle 4.0 b64 API change In-Reply-To: References: Message-ID: Hi, https://github.com/squid-cache/squid/pull/2296 will cover this, it is being discussed by developers, but discussion has stalled for a month or so. Feel free to weigh in with your comments and use cases On Sun, Nov 8, 2026 at 9:45?AM Stuart Henderson wrote: > Hi, Nettle 4.0 changed the base64 API and now require that dst_length > (the second argument) is set to the size of the destination buffer > (third argument). > > The calls could be changed to set this, but I wonder, given that nettle > is only used for b64/md5, is there actually any point in using it rather > than the code currently used as fallback? > > > _______________________________________________ > squid-dev mailing list > squid-dev at lists.squid-cache.org > https://lists.squid-cache.org/listinfo/squid-dev > -- Francesco -------------- next part -------------- An HTML attachment was scrubbed... URL: