lib/crypto: add legacy_gnutls_server_end_point_cb() if needed
authorStefan Metzmacher <metze@samba.org>
Tue, 5 Mar 2024 08:55:47 +0000 (09:55 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 23 Apr 2024 23:50:33 +0000 (23:50 +0000)
commit2f2af3aa8a0366e6502751415a08413bf28ba0cb
tree4f190b6f5e7b62dac8bc795757c0a1b50fbcdf21
parentc200cf1b5f430f686b39df8513a6b7e3c592ed43
lib/crypto: add legacy_gnutls_server_end_point_cb() if needed

gnutls_session_channel_binding(GNUTLS_CB_TLS_SERVER_END_POINT)
is only available with gnutls 3.7.2, but we still want to
support older gnutls versions and that's easily doable...

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15621

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/crypto/gnutls_helpers.h
lib/crypto/gnutls_server_end_point_cb.c [new file with mode: 0644]
lib/crypto/wscript
wscript_configure_system_gnutls