]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix build on windows xp
authorNeil Horman <nhorman@openssl.org>
Tue, 4 Mar 2025 13:20:29 +0000 (08:20 -0500)
committerTomas Mraz <tomas@openssl.org>
Wed, 5 Mar 2025 16:36:20 +0000 (17:36 +0100)
commitc0251d7b0fb835c6f043fa389b448d0d880d60a7
tree3af21da10fabcba71af820ed0cd6998ac72c9cd9
parent6e7be995fd7fd24d38b95982cf90f801ac045743
Fix build on windows xp

Windows XP doesn't support setting socket handles to be non-inheritable,
but the rio_notifier attempts to do so. WSASocketA will there return
an error when the NO_INHERIT flag is set. In that case, just retry the
call without the flag.

Fixes #26943

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26970)
ssl/rio/rio_notifier.c