]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: ssl_ckch: Fix build error about a possible uninitialized value
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 3 Jun 2022 14:37:31 +0000 (16:37 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 3 Jun 2022 14:41:11 +0000 (16:41 +0200)
commitea2c8c6ba77e363cc525ccb309ec9f3ba8b13197
tree250ca50cca297af33d015f52250c63df19c27131
parent88041b35c3c964d1333877461f532da61dc81204
BUILD: ssl_ckch: Fix build error about a possible uninitialized value

A build error is reported about the path variable in the switch statement on
the commit type, in cli_io_handler_commit_cafile_crlfile() function. The
enum contains only 2 values, but a default clause has been added to return an
error to make GCC happy.

This patch must be backported as far as 2.5.
src/ssl_ckch.c