Free the tserver TLS object before freeing the channel
authorMatt Caswell <matt@openssl.org>
Thu, 18 Jan 2024 12:16:55 +0000 (12:16 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 31 Jan 2024 10:10:55 +0000 (10:10 +0000)
commitfa4b1151c829b8be1d83cb49c9809d3a4f59fb03
treed5af5c9afc767d84af5898c62cc9eef0f5de5733
parent4a0e4849af1588dfe9d7e01738acc96799b83447
Free the tserver TLS object before freeing the channel

The TLS object may make callbacks into QUIC during cleanup so we must
free it first.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23256)
ssl/quic/quic_tserver.c