summaryrefslogtreecommitdiff
path: root/lib/gnutls_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_state.c')
-rw-r--r--lib/gnutls_state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gnutls_state.c b/lib/gnutls_state.c
index 1db5a48e8b..b9cbc3af86 100644
--- a/lib/gnutls_state.c
+++ b/lib/gnutls_state.c
@@ -403,7 +403,9 @@ int gnutls_init(gnutls_session_t * session, unsigned int flags)
/* Enable useful extensions */
if ((flags & GNUTLS_CLIENT) && !(flags & GNUTLS_NO_EXTENSIONS)) {
+#ifdef ENABLE_SESSION_TICKETS
gnutls_session_ticket_enable_client(*session);
+#endif
#ifdef ENABLE_OCSP
gnutls_ocsp_status_request_enable_client(*session, NULL, 0,
NULL);