aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/s2n/tls/extensions/s2n_server_session_ticket.c
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2023-02-08 07:58:31 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2023-02-08 07:58:31 +0300
commit1e5926b916901f05acb5474e056989b592c011a3 (patch)
treeae4e3269dfef4e441539d9c8797072d8e21aa168 /contrib/restricted/aws/s2n/tls/extensions/s2n_server_session_ticket.c
parent3b51ba21855488020df8a45b52e443ef24215ec4 (diff)
downloadydb-1e5926b916901f05acb5474e056989b592c011a3.tar.gz
Update contrib/restricted/aws/s2n to 1.3.33
Diffstat (limited to 'contrib/restricted/aws/s2n/tls/extensions/s2n_server_session_ticket.c')
-rw-r--r--contrib/restricted/aws/s2n/tls/extensions/s2n_server_session_ticket.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/contrib/restricted/aws/s2n/tls/extensions/s2n_server_session_ticket.c b/contrib/restricted/aws/s2n/tls/extensions/s2n_server_session_ticket.c
index 187da6b831..77234a29e1 100644
--- a/contrib/restricted/aws/s2n/tls/extensions/s2n_server_session_ticket.c
+++ b/contrib/restricted/aws/s2n/tls/extensions/s2n_server_session_ticket.c
@@ -51,18 +51,3 @@ int s2n_recv_server_session_ticket_ext(struct s2n_connection *conn, struct s2n_s
{
return s2n_extension_recv(&s2n_server_session_ticket_extension, conn, extension);
}
-
-int s2n_send_server_session_ticket_ext(struct s2n_connection *conn, struct s2n_stuffer *out)
-{
- return s2n_extension_send(&s2n_server_session_ticket_extension, conn, out);
-}
-
-int s2n_server_session_ticket_ext_size(struct s2n_connection *conn)
-{
- if (s2n_session_ticket_should_send(conn)) {
- /* 2 for extension type. 2 for extension length of 0 */
- return 4;
- }
-
- return 0;
-}