[openssl/openssl] ce3951: VC++ 2008 or earlier x86 compilers do not have an ...

openssl-machine noreply at github.com
Fri Aug 12 09:50:01 UTC 2022


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: ce3951fc30c7bc7c3dbacba19d87c79d9af9da0d
      https://github.com/openssl/openssl/commit/ce3951fc30c7bc7c3dbacba19d87c79d9af9da0d
  Author: Daiyuu Nobori <dnobori.gitcommit at coe.ad.jp>
  Date:   2022-08-12 (Fri, 12 Aug 2022)

  Changed paths:
    M crypto/threads_win.c

  Log Message:
  -----------
  VC++ 2008 or earlier x86 compilers do not have an inline implementation of InterlockedOr64 for 32bit and will fail to run on Windows XP 32bit.
See: https://docs.microsoft.com/en-us/cpp/intrinsics/interlockedor-intrinsic-functions#requirements
To work around this problem, we implement a manual locking mechanism for only VC++ 2008 or earlier x86 compilers.

Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18856)

(cherry picked from commit 2d46a44ff24173d2cf5ea2196360cb79470d49c7)




More information about the openssl-commits mailing list