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>
Thu, 5 Mar 2020 10:28:42 +0000 (11:28 +0100)
commitcfca1422c7de05e34b72d2d57bc057b215aa9f8f
tree00423aba5221f08ba0c80d6323d64d30a7672afd
parent38df1c8006a2adf97f4ad5a183f80cfdcba3da8a
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
include/types/ssl_sock.h
src/ssl_sock.c