]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: ssl/lua: use correctly cert_ext in CertCache.set()
authorWilliam Lallemand <wlallemand@haproxy.org>
Thu, 26 May 2022 09:20:13 +0000 (11:20 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 26 May 2022 17:36:07 +0000 (19:36 +0200)
commitd8c195a326ca4154a18c11ba0ef90f5e00579ed0
treec0edbb7c5b3a12891ac906f8a7b89672371e83fe
parent8e5b9589b30dfb0801f5ae58493eea6d2fd83a34
BUG/MINOR: ssl/lua: use correctly cert_ext in CertCache.set()

Fix a typo that lead to using the wrong pointer when loading a
certificate, which lead to always using the pem loader for every
parameeter.

Use the cert_ext->load() ptr instead of cert_exts->load() which was the
first element of the cert_exts[] array.

Enhance the error message with the field name.

Should fix issue #1716
src/hlua.c