diff options
author | Nikos Mavrogiannopoulos | 2010-07-01 03:09:56 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos | 2010-07-01 03:09:56 +0200 |
commit | ae233c2446cd31680dd53616ab8882427e861ebc (patch) | |
tree | 681d5b28d283c5ea2d8248d16d5ce23dc27df165 /src/gnutls_hooks.c | |
parent | 7b3e5de119e3a435c062d48295a227a3ff673f24 (diff) |
Added option to turn on/off session tickets.
Diffstat (limited to 'src/gnutls_hooks.c')
-rw-r--r-- | src/gnutls_hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gnutls_hooks.c b/src/gnutls_hooks.c index 2130cb0..032e6f3 100644 --- a/src/gnutls_hooks.c +++ b/src/gnutls_hooks.c | |||
@@ -673,7 +673,7 @@ static mgs_handle_t *create_gnutls_handle(apr_pool_t * pool, conn_rec * c) | |||
673 | ctxt->output_length = 0; | 673 | ctxt->output_length = 0; |
674 | 674 | ||
675 | gnutls_init(&ctxt->session, GNUTLS_SERVER); | 675 | gnutls_init(&ctxt->session, GNUTLS_SERVER); |
676 | if (session_ticket_key.data != NULL) | 676 | if (session_ticket_key.data != NULL && ctxt->sc->tickets != 0) |
677 | gnutls_session_ticket_enable_server(ctxt->session, &session_ticket_key); | 677 | gnutls_session_ticket_enable_server(ctxt->session, &session_ticket_key); |
678 | 678 | ||
679 | /* because we don't set any default priorities here (we set later at | 679 | /* because we don't set any default priorities here (we set later at |