projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update To 11.40.268.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
boringssl
/
src
/
crypto
/
bn
/
convert.c
diff --git
a/src/third_party/boringssl/src/crypto/bn/convert.c
b/src/third_party/boringssl/src/crypto/bn/convert.c
index
048ac73
..
1ba7cb6
100644
(file)
--- a/
src/third_party/boringssl/src/crypto/bn/convert.c
+++ b/
src/third_party/boringssl/src/crypto/bn/convert.c
@@
-163,7
+163,7
@@
int BN_bn2bin_padded(uint8_t *out, size_t len, const BIGNUM *in) {
/* Check if the integer is too big. This case can exit early in non-constant
* time. */
- if (in->top > (len + (BN_BYTES - 1)) / BN_BYTES) {
+ if (
(size_t)
in->top > (len + (BN_BYTES - 1)) / BN_BYTES) {
return 0;
}
if ((len % BN_BYTES) != 0) {