X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fasn1%2Ff_enum.c;h=3d0b1107cba6b5dc0b3ce19205ec11981e5319a0;hb=8d5b4ee1cab7cd02f9fe246fb60d7d018a315a86;hp=392e6b0184eb1209eca2be7f7c4cc9ce86b193b8;hpb=6b691a5c85ddc4e407e32781841fee5c029506cd;p=oweals%2Fopenssl.git diff --git a/crypto/asn1/f_enum.c b/crypto/asn1/f_enum.c index 392e6b0184..3d0b1107cb 100644 --- a/crypto/asn1/f_enum.c +++ b/crypto/asn1/f_enum.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "buffer.h" -#include "x509.h" +#include +#include /* 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 (s != NULL) Free((char *)s); + if (s != NULL) Free(s); goto err; } s=sp;