1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-31 01:48:16 +03:00

s4:lib/tls: we no longer need ifdef GNUTLS_NO_TICKETS

We require gnutls 3.6.13

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit ecdd76919132430372ef04b03304fc51d6014e2f)
This commit is contained in:
Stefan Metzmacher 2024-04-17 18:16:46 +02:00 committed by Jule Anger
parent 0c8fd43cc8
commit a55356b7cd

View File

@ -996,7 +996,6 @@ static NTSTATUS tstream_tls_prepare_gnutls(struct tstream_tls_params *_tlsp,
flags = GNUTLS_SERVER;
} else {
flags = GNUTLS_CLIENT;
#ifdef GNUTLS_NO_TICKETS
/*
* tls_tstream can't properly handle 'New Session Ticket'
* messages sent 'after' the client sends the 'Finished'
@ -1005,7 +1004,6 @@ static NTSTATUS tstream_tls_prepare_gnutls(struct tstream_tls_params *_tlsp,
* use resumption with session tickets.
*/
flags |= GNUTLS_NO_TICKETS;
#endif
}
/*