diff options
author | Jeffrey Walton <noloader@gmail.com> | 2022-08-24 22:45:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 22:45:28 -0400 |
commit | 307ada58d618eb05c89b6e4a6bc55ac4026a7e9a (patch) | |
tree | a1418201b1100b0ebbc00b4bfd2e3d8518a2d1e0 /rijndael.cpp | |
parent | 420d8ca90d12f1fae9684ef3e61cbb0fc81e99e1 (diff) | |
download | cryptopp-git-307ada58d618eb05c89b6e4a6bc55ac4026a7e9a.tar.gz |
Disable global optimizations for all versions of VS2017 (GH #649, GH #735, PR #1146)
We started seeing failed self test under VS2017 on AppVeyor. See https://ci.appveyor.com/project/noloader/cryptopp/builds/44570276 .
Diffstat (limited to 'rijndael.cpp')
-rw-r--r-- | rijndael.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rijndael.cpp b/rijndael.cpp index 98585180..4f783e0f 100644 --- a/rijndael.cpp +++ b/rijndael.cpp @@ -90,7 +90,7 @@ being unloaded from L1 cache, until that round is finished. // VS2017 and global optimization bug. Also see
// https://github.com/weidai11/cryptopp/issues/649
-#if (_MSC_VER >= 1910) && (_MSC_VER < 1916)
+#if (_MSC_VER >= 1910) && (_MSC_VER <= 1916)
# ifndef CRYPTOPP_DEBUG
# pragma optimize("", off)
# pragma optimize("ts", on)
|