diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-01-04 20:43:19 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-01-04 20:43:19 -0500 |
commit | f47ffe2a4d1018e7353b0802b96747308e23ff43 (patch) | |
tree | 78304f46ee51894ee5086feae2fa2c4a5310bf44 /fipstest.cpp | |
parent | f9ef23884669a5f539f91b81ba58b61a2b6834e0 (diff) | |
download | cryptopp-git-f47ffe2a4d1018e7353b0802b96747308e23ff43.tar.gz |
Fix IsDebuggerPresent guard for ARM64 (GH #776)
Diffstat (limited to 'fipstest.cpp')
-rw-r--r-- | fipstest.cpp | 2 |
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())
{
|