]> git.kaiwu.me - haproxy.git/commit
MINOR: ssl: skip unavailable NIDs in curves2nid lookup
authorWilliam Lallemand <wlallemand@irq6.net>
Tue, 6 Oct 2026 12:22:22 +0000 (14:22 +0200)
committerWilliam Lallemand <wlallemand@irq6.net>
Tue, 6 Oct 2026 13:39:56 +0000 (15:39 +0200)
commit4eebdb152bfa84506bc923af0b978dc012008103
tree9bdcfca119eb492096bb2176fdad32e1951de3d2
parenteeda67647f1455b7d99f76f98e203a030a66452d
MINOR: ssl: skip unavailable NIDs in curves2nid lookup

Curve table entries with NIDs undefined by the SSL library remain at -1
after initialization. Skip these entries during name lookup so an
unavailable mapping does not hide a later valid mapping for the same
name. This allows the table to contain both OpenSSL and AWS-LC NID
spellings without conditional compilation.
src/ssl_utils.c