summaryrefslogtreecommitdiff
path: root/lib/priority.c
diff options
context:
space:
mode:
authorAnder Juaristi <a@juaristi.eus>2018-04-12 17:58:47 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2018-05-26 04:12:03 +0000
commitb31203552840cc7f3a66a18780bb785d0d6e963c (patch)
tree3bdf4f38b8ef08002c3279b80c02eebfa64882fb /lib/priority.c
parent0bf47b3ca36d951ddbc9d493fa4189aab2b95075 (diff)
downloadgnutls-b31203552840cc7f3a66a18780bb785d0d6e963c.tar.gz
session tickets: expose {encrypt,decrypt}_ticket as internal API
To reuse the same ticket construction in any TLS versions, expose the private functions in ext/session_ticket.c. Signed-off-by: Ander Juaristi <a@juaristi.eus> Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/priority.c')
-rw-r--r--lib/priority.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/priority.c b/lib/priority.c
index 0d2498d998..0dc39f362c 100644
--- a/lib/priority.c
+++ b/lib/priority.c
@@ -595,7 +595,7 @@ gnutls_priority_set(gnutls_session_t session, gnutls_priority_t priority)
if (priority->no_tickets != 0) {
/* when PFS is explicitly requested, disable session tickets */
- _gnutls_hello_ext_unset_priv(session, GNUTLS_EXTENSION_SESSION_TICKET);
+ session->internals.flags |= GNUTLS_NO_TICKETS;
}
if (session->internals.priorities->protocol.algorithms == 0 ||