summaryrefslogtreecommitdiff
path: root/fipstest.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-01-04 20:43:19 -0500
committerJeffrey Walton <noloader@gmail.com>2019-01-04 20:43:19 -0500
commitf47ffe2a4d1018e7353b0802b96747308e23ff43 (patch)
tree78304f46ee51894ee5086feae2fa2c4a5310bf44 /fipstest.cpp
parentf9ef23884669a5f539f91b81ba58b61a2b6834e0 (diff)
downloadcryptopp-git-f47ffe2a4d1018e7353b0802b96747308e23ff43.tar.gz
Fix IsDebuggerPresent guard for ARM64 (GH #776)
Diffstat (limited to 'fipstest.cpp')
-rw-r--r--fipstest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fipstest.cpp b/fipstest.cpp
index 235af000..2440b94f 100644
--- a/fipstest.cpp
+++ b/fipstest.cpp
@@ -401,7 +401,7 @@ bool IntegrityCheckModule(const char *moduleFilename, const byte *expectedModule
}
}
-#if defined(_MSC_VER) && _MSC_VER >= 1400 && !defined(_M_ARM)
+#if defined(_MSC_VER) && _MSC_VER >= 1400 && !(defined(_M_ARM) || defined(_M_ARM64))
// first byte of _CRT_DEBUGGER_HOOK gets modified in memory by the debugger invisibly, so read it from file
if (IsDebuggerPresent())
{