diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-04-16 05:40:37 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-04-16 05:40:37 +0000 |
commit | f97f957e48a69ca40674a05cd50ec66a6f3d8c18 (patch) | |
tree | 60a4e53f174eb18d85511f007d44f312368a52f9 /integer.cpp | |
parent | b5f625d875e79351237cea1d5aba865148c77911 (diff) | |
download | cryptopp-f97f957e48a69ca40674a05cd50ec66a6f3d8c18.tar.gz |
fix compile on Sun CC
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@325 57ff6487-cd31-0410-9ec3-f628ee90f5f0
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 8909ec9..64f3cea 100644 --- a/integer.cpp +++ b/integer.cpp @@ -692,6 +692,7 @@ int CRYPTOPP_FASTCALL Baseline_Add(size_t N, word *C, const word *A, const word assert (N%2 == 0); Declare2Words(u); + AssignWord(u, 0); for (size_t i=0; i<N; i+=2) { AddWithCarry(u, A[i], B[i]); @@ -707,6 +708,7 @@ int CRYPTOPP_FASTCALL Baseline_Sub(size_t N, word *C, const word *A, const word assert (N%2 == 0); Declare2Words(u); + AssignWord(u, 0); for (size_t i=0; i<N; i+=2) { SubtractWithBorrow(u, A[i], B[i]); |