s4:lib/tls: add tstream_tls_sync_setup()
authorStefan Metzmacher <metze@samba.org>
Tue, 6 Feb 2024 10:48:41 +0000 (11:48 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 23 Apr 2024 23:50:34 +0000 (23:50 +0000)
commit84b4551cdf64adae08722f4338e3ab90a37dccdb
tree1231c29e4d6166ec0be36984ceec210a4e3875bf
parentf1a83feb0eec6fc6e4663edcc9fd71d2321123a2
s4:lib/tls: add tstream_tls_sync_setup()

This operates in a non-async fashion and may block
in the push and pull function.

It will be used to plug into openldap transport
layer, this is needed in order to have access
to the channel bindings. And also use the same
configuration for all our gnutls based tls code.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/lib/tls/tls.h
source4/lib/tls/tls_tstream.c