]> 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>
Thu, 7 Nov 2024 11:05:34 +0000 (12:05 +0100)
commitdc84829cc5a905cd402979d8c64791f7277a39e6
treefb072860f44f257d9c892d15d3a0df9e364206da
parentf88c2f2d171871dce8b72fd2694cd061dff21f7d
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/25874)
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