]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl-gencert: use a 64-bit hash for the LRU cache key
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 14 Aug 2026 09:06:34 +0000 (09:06 +0000)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 14 Aug 2026 09:06:34 +0000 (09:06 +0000)
commita13ef80d16ab9f80b77dc9eaf32be0a4a7130b82
tree93ad9dd9cbf836895fec5d0d8bcc2be74289c9c2
parent74ae176d1d906160dc6b7fea5a4f58e03a305842
MINOR: ssl-gencert: use a 64-bit hash for the LRU cache key

The generated-certificate LRU cache indexes its entries with a 64-bit
key (lru64), but ssl_gencert.c was only feeding it a 32-bit XXH32
hash of the requested SNI. Use XXH3 (64-bit) instead, so the full key
space of the underlying cache is actually used.
include/haproxy/ssl_gencert.h
src/ssl_gencert.c