From 0551e8e7a89f8a85717c6deccb712a8a6b434e00 Mon Sep 17 00:00:00 2001 From: Joshua Rogers Date: Sat, 11 Oct 2025 20:47:28 +0800 Subject: [PATCH] asn1: fix ret type in ASN1_item_d2i_fp_ex MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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) --- crypto/asn1/a_d2i_fp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.3