diff options
author | weidai <weidai11@users.noreply.github.com> | 2007-08-02 01:11:25 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2007-08-02 01:11:25 +0000 |
commit | bbfb7ff438188ca71850d57dc3b8613860dadb1f (patch) | |
tree | 29688c561b831ce56afa08d77a6c78343123c5ea /integer.cpp | |
parent | ce494f5bb43a3afcde8ed5562e9a947e799ad93a (diff) | |
download | cryptopp-git-bbfb7ff438188ca71850d57dc3b8613860dadb1f.tar.gz |
fix crash in SSE2_Add on P4 when compiled with MSVC 6.0 with Processor Pack
Diffstat (limited to 'integer.cpp')
-rw-r--r-- | integer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/integer.cpp b/integer.cpp index 51da878a..d72bf0d4 100644 --- a/integer.cpp +++ b/integer.cpp @@ -1949,11 +1949,13 @@ static void SetFunctionPointers() #if CRYPTOPP_INTEGER_SSE2 if (HasSSE2()) { +#if _MSC_VER != 1200 || defined(NDEBUG) if (IsP4()) { s_pAdd = &SSE2_Add; s_pSub = &SSE2_Sub; } +#endif s_recursionLimit = 32; |