diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-08-25 11:42:00 +0300 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-08-25 11:42:00 +0300 |
commit | 0c9fd966e1dc43b183d4b67f98e1b4d94f10a767 (patch) | |
tree | fbc280a70824ab380153319ddddd8a509a45ee8b /src/serv.c | |
parent | abc60d562535c82fc676c5e269353f9dd2d06f66 (diff) | |
download | gnutls-0c9fd966e1dc43b183d4b67f98e1b4d94f10a767.tar.gz |
remove ifdefs for session tickets
Diffstat (limited to 'src/serv.c')
-rw-r--r-- | src/serv.c | 4 |
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 (); |