diff options
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r-- | lib/gnutls_int.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h index 2151a1fb40..095caead88 100644 --- a/lib/gnutls_int.h +++ b/lib/gnutls_int.h @@ -1364,6 +1364,11 @@ struct gnutls_session_int { gnutls_key_st key; }; +typedef enum { + STEK_NAME, + STEK_KEY, + STEK_MAC_KEY, +} gnutls_session_ticket_key_type_t; /* functions */ @@ -1430,4 +1435,8 @@ inline static size_t max_user_send_size(gnutls_session_t session, return max; } +int _gnutls_get_session_ticket_key(gnutls_session_t session, + gnutls_session_ticket_key_type_t type, + gnutls_datum_t *key); + #endif /* GNUTLS_INT_H */ |