removed session ticket support

This commit is contained in:
Nikos Mavrogiannopoulos
2013-03-24 18:53:30 +01:00
parent be87110e7c
commit 376fea950f
3 changed files with 0 additions and 6 deletions

View File

@@ -550,9 +550,6 @@ const char* perr;
mslog(s, NULL, LOG_ERR, "error in TLS priority string: %s", perr);
GNUTLS_FATAL_ERR(ret);
ret = gnutls_session_ticket_key_generate(&s->creds.ticket_key);
GNUTLS_FATAL_ERR(ret);
if (s->config->ocsp_response != NULL) {
ret = gnutls_certificate_set_ocsp_status_request_file(s->creds.xcred,
s->config->ocsp_response, 0);

View File

@@ -54,7 +54,6 @@ struct tls_st {
gnutls_certificate_credentials_t xcred;
gnutls_priority_t cprio;
gnutls_dh_params_t dh_params;
gnutls_datum_t ticket_key;
};
typedef struct

View File

@@ -503,8 +503,6 @@ void vpn_server(struct worker_st* ws)
ret = gnutls_init(&session, GNUTLS_SERVER);
GNUTLS_FATAL_ERR(ret);
gnutls_session_ticket_enable_server(session, &ws->creds->ticket_key);
ret = gnutls_priority_set(session, ws->creds->cprio);
GNUTLS_FATAL_ERR(ret);