]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: Add a function to hash SNIs
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 Dec 2025 08:28:56 +0000 (09:28 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 8 Dec 2025 14:22:00 +0000 (15:22 +0100)
commitd993e1eeae011e6204864b447976dc9c296d9156
tree0d79d8faf82a39dbcaff5589727205e581b011b4
parenta83ed86b78b68fa98283a603f7ba98c38f6366e3
MINOR: ssl: Add a function to hash SNIs

This patch only adds the function ssl_sock_sni_hash() that can be used to
get the hash value corresponding to an SNI. A global seed, sni_hash_seed, is
used.
include/haproxy/ssl_sock.h
src/ssl_sock.c