diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2022-08-23 13:55:32 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2022-08-23 13:55:32 +0300 |
commit | 843fc844ab1de7725a9eaaab9d308ada1aa87e72 (patch) | |
tree | 82a048515821a5c92a53a278ec3e81aa44b3772e /contrib/restricted/aws/s2n/tls/s2n_early_data_io.c | |
parent | e200c8e2aa45d15f672a8ea2029e39a9f1620e6a (diff) | |
download | ydb-843fc844ab1de7725a9eaaab9d308ada1aa87e72.tar.gz |
Update contrib/restricted/aws/s2n to 1.3.20
Diffstat (limited to 'contrib/restricted/aws/s2n/tls/s2n_early_data_io.c')
-rw-r--r-- | contrib/restricted/aws/s2n/tls/s2n_early_data_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/restricted/aws/s2n/tls/s2n_early_data_io.c b/contrib/restricted/aws/s2n/tls/s2n_early_data_io.c index 1f3d9a9750..2af36c5a2f 100644 --- a/contrib/restricted/aws/s2n/tls/s2n_early_data_io.c +++ b/contrib/restricted/aws/s2n/tls/s2n_early_data_io.c @@ -84,7 +84,7 @@ static bool s2n_is_early_data_io(struct s2n_connection *conn) S2N_RESULT s2n_early_data_record_bytes(struct s2n_connection *conn, ssize_t data_len) { RESULT_ENSURE_REF(conn); - if (!s2n_is_early_data_io(conn)) { + if (data_len < 0 || !s2n_is_early_data_io(conn)) { return S2N_RESULT_OK; } |