]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: init: fall back to ha_random64_pair_hashed() for the cluster secret
authorWilly Tarreau <w@1wt.eu>
Mon, 25 May 2026 16:20:29 +0000 (18:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 26 May 2026 11:13:24 +0000 (13:13 +0200)
commitf932863484f43d15cf93a885c0484035eeec94d8
tree2139012b68af498d25b6f52e687d042acc083ac6
parent26c3b3f41d37f058f358565fd8c6c84823be18f1
MEDIUM: init: fall back to ha_random64_pair_hashed() for the cluster secret

The cluster secret, when SSL is not working, used to involve a mix of
calls to ha_random64() and random() to mask the bits that we didn't want
to see leaked. Let's now simply fall back to ha_random64_pair_hashed()
that does a much better job.
src/haproxy.c