]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: acme: fix initialization issue in acme_gen_tmp_x509()
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 6 Nov 2025 11:12:18 +0000 (12:12 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 6 Nov 2025 11:12:18 +0000 (12:12 +0100)
commit22f92804d6b831cd67df74631bd1fb343a03ce4d
treed46deea39d6a18b5b552764b8f5180dad615a9d5
parent0524af034f0f62e7d69224c2f13e7f01b93d8740
BUG/MINOR: acme: fix initialization issue in acme_gen_tmp_x509()

src/acme.c: In function ‘acme_gen_tmp_x509’:
src/acme.c:2685:15: error: ‘digest’ may be used uninitialized [-Werror=maybe-uninitialized]
 2685 |         if (!(X509_sign(newcrt, pkey, digest)))
      |              ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/acme.c:2628:23: note: ‘digest’ was declared here
 2628 |         const EVP_MD *digest;
      |                       ^~~~~~
src/acme.c