]> git.ipfire.org Git - thirdparty/openssl.git/commit
Make sure we use the correct SSL object when making a callback
authorMatt Caswell <matt@openssl.org>
Tue, 5 Nov 2024 09:12:35 +0000 (09:12 +0000)
committerTomas Mraz <tomas@openssl.org>
Wed, 13 Nov 2024 16:34:29 +0000 (17:34 +0100)
commite595f6cd323e0b8e9f9980abd89c4df6012af911
tree2deed50ebe628a4fd00a321924dd6c10ad919aba
parent6612799fb51eea3ddd0f077a76d01db873d43df9
Make sure we use the correct SSL object when making a callback

When processing a callback within libssl that applies to TLS the original
SSL object may have been created for TLS directly, or for QUIC. When making
the callback we must make sure that we use the correct SSL object. In the
case of QUIC we must not use the internal only SSL object.

Fixes #25788

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25931)
16 files changed:
ssl/d1_lib.c
ssl/record/rec_layer_s3.c
ssl/ssl_cert.c
ssl/ssl_lib.c
ssl/ssl_sess.c
ssl/statem/extensions.c
ssl/statem/extensions_clnt.c
ssl/statem/extensions_cust.c
ssl/statem/extensions_srvr.c
ssl/statem/statem.c
ssl/statem/statem_clnt.c
ssl/statem/statem_dtls.c
ssl/statem/statem_lib.c
ssl/statem/statem_srvr.c
ssl/t1_lib.c
ssl/tls_srp.c