openssl/ssl
Jiasheng Jiang 48e3cf25a8 ssl/statem: Replace size_t with int and add the checks
Replace the type of variables with int to avoid implicit conversion when it is assigned by EVP_MD_get_size().
Moreover, add the checks to avoid integer overflow.

Fixes: 6594189 ("Merge early_data_info extension into early_data")
Fixes: 9368f86 ("Add TLSv1.3 client side external PSK support")
Fixes: 1053a6e ("Implement Server side of PSK extension parsing")
Signed-off-by: Jiasheng Jiang <jiasheng@purdue.edu>

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23937)
2024-04-26 09:28:55 +02:00
..
quic QUIC TXP: Fix reserve calculations for PING frames 2024-04-18 17:42:26 +02:00
record Copyright year updates 2024-04-09 13:43:26 +02:00
rio QUIC POLLING: Support no-quic builds 2024-02-10 11:37:14 +00:00
statem ssl/statem: Replace size_t with int and add the checks 2024-04-26 09:28:55 +02:00
bio_ssl.c Copyright year updates 2024-04-09 13:43:26 +02:00
build.info QUIC RIO: Add frontend SSL_poll implementation 2024-02-10 11:37:14 +00:00
d1_lib.c
d1_msg.c
d1_srtp.c Copyright year updates 2024-04-09 13:43:26 +02:00
event_queue.c
methods.c
pqueue.c
priority_queue.c
s3_enc.c Copyright year updates 2024-04-09 13:43:26 +02:00
s3_lib.c Copyright year updates 2024-04-09 13:43:26 +02:00
s3_msg.c
ssl_asn1.c
ssl_cert_comp.c
ssl_cert_table.h
ssl_cert.c
ssl_ciph.c Copyright year updates 2024-04-09 13:43:26 +02:00
ssl_conf.c Copyright year updates 2024-04-09 13:43:26 +02:00
ssl_err_legacy.c
ssl_err.c QUIC: Add polling API 2024-02-10 11:37:14 +00:00
ssl_init.c
ssl_lib.c Copyright year updates 2024-04-09 13:43:26 +02:00
ssl_local.h Copyright year updates 2024-04-09 13:43:26 +02:00
ssl_mcnf.c Consolidate raising errors in SSL_CONF_cmd() 2023-12-19 12:03:02 +01:00
ssl_rsa_legacy.c
ssl_rsa.c
ssl_sess.c Copyright year updates 2024-04-09 13:43:26 +02:00
ssl_stat.c SSL_alert_desc_string_long(): Delete unnecessary underline 2024-04-04 08:33:21 +02:00
ssl_txt.c
ssl_utst.c
sslerr.h QUIC APL: Implement optimised FIN API 2024-01-23 14:20:06 +00:00
t1_enc.c Copyright year updates 2024-04-09 13:43:26 +02:00
t1_lib.c Copyright year updates 2024-04-09 13:43:26 +02:00
t1_trce.c
tls13_enc.c Alter the variable name 2024-04-02 05:37:00 -04:00
tls_depr.c
tls_srp.c