MINOR: ssl: reach a ckch_store from a sni_ctx
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 5 Mar 2020 09:17:47 +0000 (10:17 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 30 Sep 2020 06:57:31 +0000 (08:57 +0200)
commitb2aecf70f310888103fc6e1bc6e5105c335f0e70
tree516f7596b4ee8ea46c62d7135af3564127c96379
parent44b494a33c7bca86a3262ea916c70326b5034c01
MINOR: ssl: reach a ckch_store from a sni_ctx

It was only possible to go down from the ckch_store to the sni_ctx but
not to go up from the sni_ctx to the ckch_store.

To allow that, 2 pointers were added:

- a ckch_inst pointer in the struct sni_ctx
- a ckckh_store pointer in the struct ckch_inst

(cherry picked from commit cfca1422c7de05e34b72d2d57bc057b215aa9f8f)
Signed-off-by: William Lallemand <wlallemand@haproxy.org>
include/types/ssl_sock.h
src/ssl_sock.c