Revert "Adding Control Flow guard to Windows Builds"
authorMathias Berchtold <mberchtold@gmail.com>
Sat, 22 Apr 2023 00:04:49 +0000 (18:04 -0600)
committerTomas Mraz <tomas@openssl.org>
Mon, 24 Apr 2023 09:49:39 +0000 (11:49 +0200)
commitd748a1c6ac264ba74815e34c8d7a2ca478eb8b04
tree52e6fd125ed3907aa1b0e450dbc7e2dea5e331a3
parent31295ca02c0a2d7209a33047c7f6dd1dabc12c93
Revert "Adding Control Flow guard to Windows Builds"

Reasons:
- The patch was missing the linker flag /guard:cf
  As a result no binary with CFG was ever built
- /guard:cf is incompatible with NASM
  If the linker flag is added, the resulting binary fails with this exception:
  Unhandled exception at 0x00007FFFB8B93C90 (ntdll.dll) in openssl.exe: Indirect call guard check detected invalid control transfer.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20807)
Configurations/10-main.conf