]> git.kaiwu.me - haproxy.git/commit
MINOR: ssl: accept integer group IDs in curve2name
authorWilliam Lallemand <wlallemand@irq6.net>
Tue, 6 Oct 2026 13:26:21 +0000 (15:26 +0200)
committerWilliam Lallemand <wlallemand@irq6.net>
Tue, 6 Oct 2026 13:39:56 +0000 (15:39 +0200)
commit306db36ec01ba6268574092b5e38c7a2cb5d1695
tree6a06af16853bdada3c6d9ca9b60ac755ec8c1c45
parent4ea77731a971c5e17861fc2cfcf78632695aeba4
MINOR: ssl: accept integer group IDs in curve2name

Allow curve2name to convert integer TLS Supported Group identifiers
in addition to curve names. Register the converter with SMP_T_ANY to
preserve the input type, and accept only integer and string samples.

Return unknown IDs, or IDs without a name in the requested convention,
as decimal strings. Preserve the existing fallback for string inputs.

Document binary group extraction and extend regression coverage for
integer IDs, missing names, unknown IDs and values outside the TLS
identifier range. The build and converter regression test pass.
doc/configuration.txt
reg-tests/ssl/curve2name.vtc
src/ssl_utils.c