From bbfb7ff438188ca71850d57dc3b8613860dadb1f Mon Sep 17 00:00:00 2001 From: weidai Date: Thu, 2 Aug 2007 01:11:25 +0000 Subject: [PATCH] fix crash in SSE2_Add on P4 when compiled with MSVC 6.0 with Processor Pack --- integer.cpp | 2 ++ 1 file changed, 2 insertions(+) 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;