projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add an evil cast, because POSIX/SUSv2 define connect(2) require
[oweals/openssl.git]
/
crypto
/
asn1
/
f_enum.c
diff --git
a/crypto/asn1/f_enum.c
b/crypto/asn1/f_enum.c
index 392e6b0184eb1209eca2be7f7c4cc9ce86b193b8..3d0b1107cba6b5dc0b3ce19205ec11981e5319a0 100644
(file)
--- a/
crypto/asn1/f_enum.c
+++ b/
crypto/asn1/f_enum.c
@@
-58,8
+58,8
@@
#include <stdio.h>
#include "cryptlib.h"
#include <stdio.h>
#include "cryptlib.h"
-#include
"buffer.h"
-#include
"x509.h"
+#include
<openssl/buffer.h>
+#include
<openssl/asn1.h>
/* Based on a_int.c: equivalent ENUMERATED functions */
/* Based on a_int.c: equivalent ENUMERATED functions */
@@
-161,7
+161,7
@@
int a2i_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *bs, char *buf, int size)
if (sp == NULL)
{
ASN1err(ASN1_F_A2I_ASN1_ENUMERATED,ERR_R_MALLOC_FAILURE);
if (sp == NULL)
{
ASN1err(ASN1_F_A2I_ASN1_ENUMERATED,ERR_R_MALLOC_FAILURE);
- if (s != NULL) Free(
(char *)
s);
+ if (s != NULL) Free(s);
goto err;
}
s=sp;
goto err;
}
s=sp;