]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: Add "sigalg" to "sigalg name" helper function
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Fri, 18 Apr 2025 15:26:49 +0000 (17:26 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Wed, 30 Apr 2025 09:11:26 +0000 (11:11 +0200)
commit08e40f45899b115cb900d5d703efd44290a2e525
tree3266ec18d399f986c13a49959c5f2fad3075138e
parent566b384e4e863162f9fbb2a0dd856e03fe305b90
MINOR: Add "sigalg" to "sigalg name" helper function

This function can be used to convert a TLSv1.3 sigAlg entry (2bytes)
from the signature_agorithms client hello extension into a string.

In order to ease debugging, some TLSv1.2 combinations can also be
dumped. In TLSv1.2 those signature algorithms pairs were built out of a
one byte signature identifier combined to a one byte hash identifier.
In TLSv1.3 those identifiers are two bytes blocs that must be treated as
such.
include/haproxy/ssl_utils.h
src/ssl_utils.c