]> git.kaiwu.me - haproxy.git/commit
BUILD: ssl: fix build without USE_OPENSSL + clear_ocsp_clt_check_ctx
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 2 Oct 2026 11:15:46 +0000 (13:15 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 2 Oct 2026 11:15:46 +0000 (13:15 +0200)
commitad6b6af8b146f52aed23128a18eb11e3baa58a3b
treef553572c38cc451dd4ee89dd4dea14cab4b8c3c4
parent11d667d73df2c7e4da978683a59b196d52bca619
BUILD: ssl: fix build without USE_OPENSSL + clear_ocsp_clt_check_ctx

src/stream.c: In function ‘stream_free’:
src/stream.c:722:9: error: implicit declaration of function ‘clear_ocsp_clt_check_ctx’ [-Werror=implicit-function-declaration]
  722 |         clear_ocsp_clt_check_ctx(&s->ocsp_clt_check_ctx);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~

Add HAVE_SSL_OCSP to ensure we have the feature.
src/stream.c