summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-03-11 19:45:43 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-03-11 19:45:43 +0100
commit161905abf20fb502c70b610f45789a917f3ed695 (patch)
tree6d26e40e6ee741be0d00c14eaaf26bef1a4571c9 /src
parent487275158aface12071c1cc197d70ad7bca1b647 (diff)
downloadgnutls-161905abf20fb502c70b610f45789a917f3ed695.tar.gz
removed unneeded code
Diffstat (limited to 'src')
-rw-r--r--src/serv.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/serv.c b/src/serv.c
index e363eadae4..295725e18e 100644
--- a/src/serv.c
+++ b/src/serv.c
@@ -355,11 +355,6 @@ gnutls_session_t initialize_session (int dtls)
gnutls_db_set_store_function (session, wrap_db_store);
gnutls_db_set_ptr (session, NULL);
}
-#ifdef ENABLE_SESSION_TICKET
- if (noticket == 0)
- gnutls_session_ticket_enable_server (session, &session_ticket_key);
-#endif
-
if (noticket == 0)
gnutls_session_ticket_enable_server (session, &session_ticket_key);