]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: ssl: include buffer common headers for ssl_sock_ctx
authorWilliam Dauchy <w.dauchy@criteo.com>
Sun, 17 May 2020 11:41:53 +0000 (13:41 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 18 May 2020 06:29:32 +0000 (08:29 +0200)
commit1665c43fd86fa58ea06907b84a54ecc54d2782dd
tree432b36a3309b7f0db2ddaef69ef11e72241fed6f
parenta8dbdf3c4b463a3f3e018f0cd02fa0d8d179bc07
BUILD: ssl: include buffer common headers for ssl_sock_ctx

since commit c0cdaffaa338 ("REORG: ssl: move ssl_sock_ctx and fix
cross-dependencies issues"), `struct ssl_sock_ctx` was moved in
ssl_sock.h. As it contains a `struct buffer`, including
`common/buffer.h` is now mandatory. I encountered an issue while
including ssl_sock.h on another patch:

include/types/ssl_sock.h:240:16: error: field ‘early_buf’ has incomplete type
  240 |  struct buffer early_buf;      /* buffer to store the early data received */

no backport needed.

Fixes: c0cdaffaa338 ("REORG: ssl: move ssl_sock_ctx and fix
cross-dependencies issues")
Signed-off-by: William Dauchy <w.dauchy@criteo.com>
include/types/ssl_sock.h