projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Correct bracketing error.
[openssl.git]
/
crypto
/
bn
/
bn_mpi.c
diff --git
a/crypto/bn/bn_mpi.c
b/crypto/bn/bn_mpi.c
index 53945c105717981d0330e0380400bc315f9bfb95..84b0317081c0147f4c701ea7a8f71422374bf034 100644
(file)
--- a/
crypto/bn/bn_mpi.c
+++ b/
crypto/bn/bn_mpi.c
@@
-103,7
+103,7
@@
BIGNUM *a;
BNerr(BN_F_BN_MPI2BN,BN_R_INVALID_LENGTH);
return(NULL);
}
- len=(
d[0]<<24)|(d[1]<<16)|(d[2]<<8)|
d[3];
+ len=(
(long)d[0]<<24)|((long)d[1]<<16)|((int)d[2]<<8)|(int)
d[3];
if ((len+4) != n)
{
BNerr(BN_F_BN_MPI2BN,BN_R_ENCODING_ERROR);