diff options
author | Matt Caswell <matt@openssl.org> | 2023-08-07 15:48:01 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2023-08-15 14:41:31 +0100 |
commit | 614c08c23999e39945b556851eabff157aef833f (patch) | |
tree | d623e01abfc50fb1abb7598308f5bc82584ec742 /ssl | |
parent | 50a0af2e41ea61a79c19c17f9e87541e283ba8bf (diff) |
Add the ability to send NewSessionTicket messages when we want them
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21686)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/quic/quic_tserver.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ssl/quic/quic_tserver.c b/ssl/quic/quic_tserver.c index 791905d2ed..ae792c5e7a 100644 --- a/ssl/quic/quic_tserver.c +++ b/ssl/quic/quic_tserver.c @@ -529,3 +529,8 @@ void ossl_quic_tserver_set_msg_callback(QUIC_TSERVER *srv, ossl_quic_channel_set_msg_callback(srv->ch, f, NULL); ossl_quic_channel_set_msg_callback_arg(srv->ch, arg); } + +int ossl_quic_tserver_new_ticket(QUIC_TSERVER *srv) +{ + return SSL_new_session_ticket(srv->tls); +} |