]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] fix: dev: Disassociate the SSL object from the cached SSL_SESSION
authorOndřej Surý <ondrej@isc.org>
Wed, 7 Aug 2024 15:25:37 +0000 (15:25 +0000)
committerOndřej Surý <ondrej@isc.org>
Wed, 7 Aug 2024 15:25:37 +0000 (15:25 +0000)
commit54b24fb015165bcff74deec43bb7e784a31dd946
treec5b5fa58a621e6bbfb5f585cd997f4f2a4389ee8
parent24ac7a7cd22d45e1bc1e26ba105105e16f627687
parentbbf34c0604665998c58ed9eebd0d17aeb38b92bb
[9.20] fix: dev: Disassociate the SSL object from the cached SSL_SESSION

When the SSL object was destroyed, it would invalidate all SSL_SESSION
objects including the cached, but not yet used, TLS session objects.

Properly disassociate the SSL object from the SSL_SESSION before we
store it in the TLS session cache, so we can later destroy it without
invalidating the cached TLS sessions.

Closes #4834

Backport of MR !9271

Merge branch 'backport-4834-detach-SSL-from-cached-SSL_SESSION-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!9274