]> git.kaiwu.me - haproxy.git/commit
MINOR: stats: report the SSL library FIPS mode in "show info"
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 12 Oct 2026 14:04:28 +0000 (14:04 +0000)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 12 Oct 2026 14:14:12 +0000 (16:14 +0200)
commit4e6160c786a025f9050a260a39a1ef99045a2cc2
tree56166cdc3f84d00ae7c42eceae0e17b01814d3c5
parentcec63e95f62a7412484f1134f5aa227e5b7e1466
MINOR: stats: report the SSL library FIPS mode in "show info"

The "SSL library FIPS mode" indicator printed by "haproxy -vv" had no
equivalent in the CLI. Add a "FipsMode" field to "show info" so that the
FIPS state of the running process can be queried at runtime, using the
same openssl_fips_mode() helper as the -vv line and the fips_mode()
configuration condition.

The field is only emitted by builds with SSL support, and reports 0 when
the SSL library is not in FIPS mode or does not support FIPS mode at all.
include/haproxy/stats-t.h
src/stats.c