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 ea460eb1df755a4df0ecc60ede9a3a9528489843..3d0b1107cba6b5dc0b3ce19205ec11981e5319a0 100644
(file)
--- a/
crypto/asn1/f_enum.c
+++ b/
crypto/asn1/f_enum.c
@@
-59,7
+59,7
@@
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/buffer.h>
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/buffer.h>
-#include <openssl/
x509
.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;