projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for shared libraries with OS/2.
[oweals/openssl.git]
/
crypto
/
asn1
/
a_enum.c
diff --git
a/crypto/asn1/a_enum.c
b/crypto/asn1/a_enum.c
index 35232d82b222e2ca4dfcda5f17eccb7f4d5e87e6..ad8f0ffd1ab3859c561d24f291f3428bb1366477 100644
(file)
--- a/
crypto/asn1/a_enum.c
+++ b/
crypto/asn1/a_enum.c
@@
-153,7
+153,7
@@
ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(BIGNUM *bn, ASN1_ENUMERATED *ai)
len=((j == 0)?0:((j/8)+1));
if (ret->length < len+4)
{
-
char *new_data=(char *)
OPENSSL_realloc(ret->data, len+4);
+
unsigned char *new_data=
OPENSSL_realloc(ret->data, len+4);
if (!new_data)
{
ASN1err(ASN1_F_BN_TO_ASN1_INTEGER,ERR_R_MALLOC_FAILURE);