projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Handle find-doc-nits script rename
[openssl.git]
/
crypto
/
asn1
/
x_long.c
diff --git
a/crypto/asn1/x_long.c
b/crypto/asn1/x_long.c
index 0af78752018843bcdf780db623796be3b62ec934..c2844713cf1e3d0582925bfe23ad3d66294c9496 100644
(file)
--- a/
crypto/asn1/x_long.c
+++ b/
crypto/asn1/x_long.c
@@
-76,7
+76,7
@@
static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype,
* set.
*/
if (ltmp < 0)
- utmp =
-
ltmp - 1;
+ utmp =
0 - (unsigned long)
ltmp - 1;
else
utmp = ltmp;
clen = BN_num_bits_word(utmp);