X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fasn1%2Fa_type.c;h=161ef8119737446f4a6cea8d3e4b9a18ffe27eac;hb=9fd4ee5d7c0925aa4c1c52e33429bdebe868f9e2;hp=72240a0b2572610178c177dfe661f6a6842fed84;hpb=d35ea5b00b32eb30eaaffd3c5e504d6c003c17dc;p=oweals%2Fopenssl.git diff --git a/crypto/asn1/a_type.c b/crypto/asn1/a_type.c index 72240a0b25..161ef81197 100644 --- a/crypto/asn1/a_type.c +++ b/crypto/asn1/a_type.c @@ -282,7 +282,7 @@ void ASN1_TYPE_free(ASN1_TYPE *a) { if (a == NULL) return; ASN1_TYPE_component_free(a); - Free((char *)(char *)a); + Free(a); } int ASN1_TYPE_get(ASN1_TYPE *a) @@ -293,7 +293,7 @@ int ASN1_TYPE_get(ASN1_TYPE *a) return(0); } -void ASN1_TYPE_set(ASN1_TYPE *a, int type, char *value) +void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value) { if (a->value.ptr != NULL) ASN1_TYPE_component_free(a);