From 326d87850c602038f5d475ade00854c6ed887073 Mon Sep 17 00:00:00 2001 From: weidai Date: Thu, 2 Aug 2007 01:11:25 +0000 Subject: fix crash in SSE2_Add on P4 when compiled with MSVC 6.0 with Processor Pack git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@378 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- integer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'integer.cpp') diff --git a/integer.cpp b/integer.cpp index 51da878..d72bf0d 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; -- cgit v1.2.1