]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: simplify the certificate extensions array
authorWilliam Lallemand <wlallemand@haproxy.org>
Tue, 29 Mar 2022 08:44:23 +0000 (10:44 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 30 Mar 2022 10:18:16 +0000 (12:18 +0200)
commitff8bf988b90be5c1bf8942574006b0d3cc5d77a4
treea6691e69aa5c288b5bd6840be2c67c065a53f434
parentaaacc7e8ad90acf1c82cfe32e8be81aeee3c2731
MINOR: ssl: simplify the certificate extensions array

Simplify the "cert_exts" array which is used for the selection of the
parsing function depending on the extension.

It now uses a pointer to an array element instead of an index, which is
simplier for the declaration of the array.

This way also allows to have multiple extension using the same type.
src/ssl_ckch.c