diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2023-02-08 07:58:31 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2023-02-08 07:58:31 +0300 |
commit | 1e5926b916901f05acb5474e056989b592c011a3 (patch) | |
tree | ae4e3269dfef4e441539d9c8797072d8e21aa168 /contrib/restricted/aws/s2n/tls/extensions/s2n_server_session_ticket.c | |
parent | 3b51ba21855488020df8a45b52e443ef24215ec4 (diff) | |
download | ydb-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.c | 15 |
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; -} |