projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use asn1 callbacks for new, free and d2i
[oweals/openssl.git]
/
crypto
/
asn1
/
a_object.c
diff --git
a/crypto/asn1/a_object.c
b/crypto/asn1/a_object.c
index a11d25e1fb7a8b8ca172fb2a080e5a80e53dd969..0fbc368f0db569ec3a051ad4603007db439872b0 100644
(file)
--- a/
crypto/asn1/a_object.c
+++ b/
crypto/asn1/a_object.c
@@
-186,7
+186,7
@@
int a2d_ASN1_OBJECT(unsigned char *out, int olen, const char *buf, int num)
goto err;
}
while(blsize--)
- tmp[i++] = BN_div_word(bl, 0x80L);
+ tmp[i++] =
(unsigned char)
BN_div_word(bl, 0x80L);
}
else
{