]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: ssl: Remove a useless variable from ssl_gen_x509()
authorFrederic Lecaille <flecaille@haproxy.com>
Mon, 23 Feb 2026 09:47:15 +0000 (10:47 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Mon, 23 Feb 2026 09:47:15 +0000 (10:47 +0100)
commitdfa8907a3d54ea87ab6660c76d2da5dd7377aaa4
tree6898ebc640a2b3ff03bf9a76ec96f1dea1bc376f
parentbb3304c6afb4d751b3be96485a7d8a9c54f76cf7
CLEANUP: ssl: Remove a useless variable from ssl_gen_x509()

This function was recently created by moving code from acme_gen_tmp_x509()
(in acme.c) to ssl_gencrt.c (ssl_gen_x509()). The <ctmp> variable was
initialized and then freed without ever being used. This was already the
case in the original acme_gen_tmp_x509() function.

This patch removes these useless statements.

Reported in GH #3284
src/ssl_gencert.c