]> git.ipfire.org Git - thirdparty/openssl.git/commit
Disable DLL detach handlers on cygwin
authorDavid McFarland <corngood@gmail.com>
Fri, 5 Dec 2025 17:21:38 +0000 (13:21 -0400)
committerNorbert Pocs <norbertp@openssl.org>
Thu, 19 Mar 2026 10:04:47 +0000 (11:04 +0100)
commit65940a0bb62fa2d75752cceb1713b136c5dbf485
tree3cda13190b39154369e2771127b38afcd6f00115
parentdba8af7dd3c7edb942ae9e8cbf9ff4d51c33e516
Disable DLL detach handlers on cygwin

This patch is from cygwin, and was originally added in:

https://cygwin.com/cgit/cygwin-packages/openssl/commit/?id=da80cc438622f6b1801fb3fbb06818c3ee070495

In cygwin, it's not safe to call into libc from
DLL_THREAD/PROCESS_DETACH, and it results in crashes.

CLA: trivial

Co-authored-By: Achim Gratz <Achim.Gratz@Stromeko.DE>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
MergeDate: Thu Mar 19 10:04:53 2026
(Merged from https://github.com/openssl/openssl/pull/29321)
crypto/dllmain.c
providers/fips/self_test.c