diff options
author | markus <> | 2003-11-11 22:15:20 +0000 |
---|---|---|
committer | markus <> | 2003-11-11 22:15:20 +0000 |
commit | 38a053f575d6faf05903707a8e835dc231c7eca9 (patch) | |
tree | 6f8ff7f2313c890e1f52fd53451e7af46dad58b2 /src/lib/libcrypto/bn/bn_mul.c | |
parent | 76b1d16ba9a90ba98e7cfdc332eb843f02c06a1c (diff) | |
download | openbsd-38a053f575d6faf05903707a8e835dc231c7eca9.tar.gz openbsd-38a053f575d6faf05903707a8e835dc231c7eca9.tar.bz2 openbsd-38a053f575d6faf05903707a8e835dc231c7eca9.zip |
merge 0.9.7c; minor bugsfixes;
API addition: ERR_release_err_state_table
[make includes before you build libssl/libcrypto]
Diffstat (limited to 'src/lib/libcrypto/bn/bn_mul.c')
-rw-r--r-- | src/lib/libcrypto/bn/bn_mul.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/bn_mul.c b/src/lib/libcrypto/bn/bn_mul.c index cb93ac3356..3ae3822bc2 100644 --- a/src/lib/libcrypto/bn/bn_mul.c +++ b/src/lib/libcrypto/bn/bn_mul.c | |||
@@ -224,7 +224,7 @@ void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int tn, | |||
224 | int n, BN_ULONG *t) | 224 | int n, BN_ULONG *t) |
225 | { | 225 | { |
226 | int i,j,n2=n*2; | 226 | int i,j,n2=n*2; |
227 | unsigned int c1,c2,neg,zero; | 227 | int c1,c2,neg,zero; |
228 | BN_ULONG ln,lo,*p; | 228 | BN_ULONG ln,lo,*p; |
229 | 229 | ||
230 | # ifdef BN_COUNT | 230 | # ifdef BN_COUNT |
@@ -376,7 +376,7 @@ void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int tn, | |||
376 | 376 | ||
377 | /* The overflow will stop before we over write | 377 | /* The overflow will stop before we over write |
378 | * words we should not overwrite */ | 378 | * words we should not overwrite */ |
379 | if (ln < c1) | 379 | if (ln < (BN_ULONG)c1) |
380 | { | 380 | { |
381 | do { | 381 | do { |
382 | p++; | 382 | p++; |