Disable X86 ASM for VMAC (Issue 304)

Address Sanitizer reports problems from GCC 4.9 to 5.3 compilers. Valgrind 2.13-SVN does not report a problem. It needs to be investiagted more to determine what's going on
pull/308/head
Jeffrey Walton 2016-09-23 20:56:01 -04:00
parent b1196d8319
commit 0a22957481
1 changed files with 1 additions and 1 deletions

2
vmac.h
View File

@ -12,7 +12,7 @@
// Clang 3.3 integrated assembler crash on Linux
// http://github.com/weidai11/cryptopp/issues/264
#if (defined(CRYPTOPP_LLVM_CLANG_VERSION) && (CRYPTOPP_LLVM_CLANG_VERSION < 30400)) || CRYPTOPP_BOOL_X32
#if (defined(CRYPTOPP_LLVM_CLANG_VERSION) && (CRYPTOPP_LLVM_CLANG_VERSION < 30400)) || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X86
# define CRYPTOPP_DISABLE_VMAC_ASM
#endif