From: Joshua Rogers Date: Sat, 11 Oct 2025 12:47:28 +0000 (+0800) Subject: asn1: fix ret type in ASN1_item_d2i_fp_ex X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0551e8e7a89f8a85717c6deccb712a8a6b434e00;p=thirdparty%2Fopenssl.git asn1: fix ret type in ASN1_item_d2i_fp_ex Signed-off-by: Joshua Rogers Reviewed-by: Tom Cosgrove Reviewed-by: Saša Nedvědický Reviewed-by: Kurt Roeckx (Merged from https://github.com/openssl/openssl/pull/28884) --- diff --git a/crypto/asn1/a_d2i_fp.c b/crypto/asn1/a_d2i_fp.c index 0c88c981068..98ce0231348 100644 --- a/crypto/asn1/a_d2i_fp.c +++ b/crypto/asn1/a_d2i_fp.c @@ -86,7 +86,7 @@ void *ASN1_item_d2i_fp_ex(const ASN1_ITEM *it, FILE *in, void *x, OSSL_LIB_CTX *libctx, const char *propq) { BIO *b; - char *ret; + void *ret; if ((b = BIO_new(BIO_s_file())) == NULL) { ERR_raise(ERR_LIB_ASN1, ERR_R_BUF_LIB);