diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-07-24 23:39:33 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-07-24 23:48:07 +0200 |
commit | 0fca588275c58e5db940deed12db9e4958a961b6 (patch) | |
tree | 9064fa72e635fb7552de020b6eadabe8f8d5f7b3 /src/Crypto/misc.h | |
parent | 2dbf36618401ff4660d31b49f15300af730edaed (diff) | |
download | VeraCrypt-0fca588275c58e5db940deed12db9e4958a961b6.tar.gz VeraCrypt-0fca588275c58e5db940deed12db9e4958a961b6.zip |
Crypto: Workaround for AES-NI issue under Hyper-V on Windows Server 2008 R2 which masks AES-NI from applications although it is available.
Diffstat (limited to 'src/Crypto/misc.h')
-rw-r--r-- | src/Crypto/misc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Crypto/misc.h b/src/Crypto/misc.h index 75ecedcd..e4570664 100644 --- a/src/Crypto/misc.h +++ b/src/Crypto/misc.h @@ -3,6 +3,10 @@ #include "config.h" #include <string.h> // for memcpy and memmove +#ifndef _WIN32 +#include <strings.h> // for strcasecmp +#define _stricmp strcasecmp +#endif #ifdef _MSC_VER #if _MSC_VER >= 1400 |