[openssl/openssl] f913d9: crypto/threads_win.c: type casted destination of I...

0 views
Skip to first unread message

Deven-Dighe

unread,
Mar 21, 2026, 9:03:37 PM (3 days ago) Mar 21
to openssl...@openssl.org
Branch: refs/heads/openssl-4.0
Home: https://github.com/openssl/openssl
Commit: f913d98ac2cf8d28bbcf993dfe5d0d7d3d4f0345
https://github.com/openssl/openssl/commit/f913d98ac2cf8d28bbcf993dfe5d0d7d3d4f0345
Author: Deven Dighe <dvd...@g.rit.edu>
Date: 2026-03-22 (Sun, 22 Mar 2026)

Changed paths:
M crypto/threads_win.c

Log Message:
-----------
crypto/threads_win.c: type casted destination of InterlockedExchange{,64} calls

Explicitly cast dst argument of InterlockedExchange{,64} calls
in CRYPTO_atomic_store{,_int}() to LONG{64,} volatile *, respectively,
to work around incompatible pointer type errors on 64-bit MinGW builds.

Initially Reported by Splediferous.

[esyr: massaged the commit message a bit]

CLA: trivial
Resolves: https://github.com/openssl/openssl/issues/30451
Fixes: cc7195da3038 "Make FIPS self test state access atomic"
Fixes: 7e45ac6891ad "Add CRYPTO_atomic_store api"

Reviewed-by: Neil Horman <nho...@openssl.org>
Reviewed-by: Paul Dale <paul...@oracle.com>
Reviewed-by: Eugene Syromiatnikov <es...@openssl.org>
MergeDate: Sun Mar 22 00:59:42 2026
(Merged from https://github.com/openssl/openssl/pull/30504)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
Reply all
Reply to author
Forward
0 new messages