fix crash in SSE2_Add on P4 when compiled with MSVC 6.0 with Processor Pack

pull/2/head
weidai 2007-08-02 01:11:25 +00:00
parent ce494f5bb4
commit bbfb7ff438
1 changed files with 2 additions and 0 deletions

View File

@ -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;