openssl/ssl
Matt Caswell 95051052b3 Move the Handshake read secret change earlier in the process for QUIC 0-RTT
On the server side we were changing the handshake rx secret a little late.
This meant the application was forced to call SSL_do_handshake() again
even if there was nothing to read in order to get the secret. We move it
a little earlier int the process to avoid this.

Fixes the issue described in:
https://github.com/ngtcp2/ngtcp2/pull/1582#issuecomment-2735950083

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27101)
2025-03-20 20:22:39 +01:00
..
quic Fix the use of CCM ciphersuites with QUIC TLS API 2025-03-20 11:24:26 +01:00
record Copyright year updates 2025-03-12 13:35:59 +00:00
rio Copyright year updates 2025-03-12 13:35:59 +00:00
statem Move the Handshake read secret change earlier in the process for QUIC 0-RTT 2025-03-20 20:22:39 +01:00
bio_ssl.c Copyright year updates 2025-03-12 13:35:59 +00:00
build.info Move ssl_err.c into libcrypto 2025-03-01 14:46:03 -05:00
d1_lib.c Copyright year updates 2025-03-12 13:35:59 +00:00
d1_msg.c Copyright year updates 2025-03-12 13:35:59 +00:00
d1_srtp.c Copyright year updates 2025-03-12 13:35:59 +00:00
methods.c
pqueue.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
priority_queue.c Copyright year updates 2024-09-05 09:35:49 +02:00
s3_enc.c Copyright year updates 2025-03-12 13:35:59 +00:00
s3_lib.c Fix the use of CCM ciphersuites with QUIC TLS API 2025-03-20 11:24:26 +01:00
s3_msg.c Copyright year updates 2025-03-12 13:35:59 +00:00
ssl_asn1.c RFC7250 (RPK) support 2023-03-28 13:49:54 -04:00
ssl_cert.c Copyright year updates 2025-03-12 13:35:59 +00:00
ssl_cert_comp.c Copyright year updates 2025-03-12 13:35:59 +00:00
ssl_cert_table.h Make ssl_cert_info read-only 2023-11-27 07:51:33 +00:00
ssl_ciph.c Copyright year updates 2025-03-12 13:35:59 +00:00
ssl_conf.c Copyright year updates 2025-03-12 13:35:59 +00:00
ssl_err_legacy.c Copyright year updates 2025-03-12 13:35:59 +00:00
ssl_init.c Copyright year updates 2025-03-12 13:35:59 +00:00
ssl_lib.c Move the Handshake read secret change earlier in the process for QUIC 0-RTT 2025-03-20 20:22:39 +01:00
ssl_local.h Fix the use of CCM ciphersuites with QUIC TLS API 2025-03-20 11:24:26 +01:00
ssl_mcnf.c Copyright year updates 2024-09-05 09:35:49 +02:00
ssl_rsa.c Copyright year updates 2025-03-12 13:35:59 +00:00
ssl_rsa_legacy.c Copyright year updates 2025-03-12 13:35:59 +00:00
ssl_sess.c Copyright year updates 2025-03-12 13:35:59 +00:00
ssl_stat.c Copyright year updates 2025-03-12 13:35:59 +00:00
ssl_txt.c Copyright year updates 2024-09-05 09:35:49 +02:00
ssl_utst.c Remove the old buffer management code 2022-10-20 14:39:33 +01:00
t1_enc.c Copyright year updates 2025-03-12 13:35:59 +00:00
t1_lib.c Fix the use of CCM ciphersuites with QUIC TLS API 2025-03-20 11:24:26 +01:00
t1_trce.c Copyright year updates 2025-03-12 13:35:59 +00:00
tls13_enc.c Copyright year updates 2025-03-12 13:35:59 +00:00
tls_depr.c Copyright year updates 2025-03-12 13:35:59 +00:00
tls_srp.c Copyright year updates 2025-03-12 13:35:59 +00:00