]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: ssl: fix build warning with previous changes to ssl_sock_ctx
authorWilly Tarreau <w@1wt.eu>
Mon, 11 Apr 2022 17:47:31 +0000 (19:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 11 Apr 2022 17:47:31 +0000 (19:47 +0200)
commit99ade09cbfc67697fca0b2560f174c5c9385063f
treeaa978efbdd5d69d4312374dda943068a54940a56
parent784b868c97d26adc0e5f6f9a2784bd20074a87c7
BUILD: ssl: fix build warning with previous changes to ssl_sock_ctx

Some compilers see a possible null deref after conn_get_ssl_sock_ctx()
in ssl_sock_parse_heartbeat, which cannot happen there, so let's mark
it as safe. No backport needed.
src/ssl_sock.c