summaryrefslogtreecommitdiff
path: root/src/serv.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-08-25 11:42:00 +0300
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-08-25 11:42:00 +0300
commit0c9fd966e1dc43b183d4b67f98e1b4d94f10a767 (patch)
treefbc280a70824ab380153319ddddd8a509a45ee8b /src/serv.c
parentabc60d562535c82fc676c5e269353f9dd2d06f66 (diff)
downloadgnutls-0c9fd966e1dc43b183d4b67f98e1b4d94f10a767.tar.gz
remove ifdefs for session tickets
Diffstat (limited to 'src/serv.c')
-rw-r--r--src/serv.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/serv.c b/src/serv.c
index 591ae64869..5650658bb6 100644
--- a/src/serv.c
+++ b/src/serv.c
@@ -1199,10 +1199,8 @@ main (int argc, char **argv)
/* gnutls_anon_set_server_dh_params(dh_cred, dh_params); */
#endif
-#ifdef ENABLE_SESSION_TICKET
if (noticket == 0)
gnutls_session_ticket_key_generate (&session_ticket_key);
-#endif
if (HAVE_OPT (MTU))
mtu = OPT_VALUE_MTU;
@@ -1610,10 +1608,8 @@ tcp_server (const char *name, int port)
gnutls_anon_free_server_credentials (dh_cred);
#endif
-#ifdef ENABLE_SESSION_TICKET
if (noticket == 0)
gnutls_free (session_ticket_key.data);
-#endif
if (nodb == 0)
wrap_db_deinit ();