diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-07-02 10:11:41 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-07-12 11:56:58 +0200 |
commit | e1326209aa7160e1332cf571a8eb8c2ccfd7369d (patch) | |
tree | 51fd8ebb9da0861fd0420cdf9947a999eb65ad47 /lib/handshake.h | |
parent | 40b5e30494230f1e87d1622f14cf65cce5ba3bc9 (diff) | |
download | gnutls-e1326209aa7160e1332cf571a8eb8c2ccfd7369d.tar.gz |
gnutls_session_ticket_send: allow sending multiple tickets in one go
This allows combining the tickets in a single record message when
possible.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/handshake.h')
-rw-r--r-- | lib/handshake.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/handshake.h b/lib/handshake.h index 465ee03b80..390f5034f9 100644 --- a/lib/handshake.h +++ b/lib/handshake.h @@ -61,6 +61,11 @@ int _gnutls_recv_hello_request(gnutls_session_t session, void *data, int _gnutls_recv_handshake(gnutls_session_t session, gnutls_handshake_description_t type, unsigned int optional, gnutls_buffer_st * buf); + +int +_gnutls_send_handshake2(gnutls_session_t session, mbuffer_st * bufel, + gnutls_handshake_description_t type, unsigned queue_only); + int _gnutls_generate_session_id(uint8_t * session_id, uint8_t * len); int _gnutls_gen_server_random(gnutls_session_t session, int version); void _gnutls_set_client_random(gnutls_session_t session, uint8_t * rnd); |