]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
asn1: fix ret type in ASN1_item_d2i_fp_ex
authorJoshua Rogers <MegaManSec@users.noreply.github.com>
Sat, 11 Oct 2025 12:47:28 +0000 (20:47 +0800)
committerTomas Mraz <tomas@openssl.org>
Fri, 17 Oct 2025 17:34:38 +0000 (19:34 +0200)
Signed-off-by: Joshua Rogers <MegaManSec@users.noreply.github.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/28884)

crypto/asn1/a_d2i_fp.c

index 0c88c98106811e21ef5cccd965cc0a0d4d9d02d5..98ce023134847a5915f237caad29533a9ae66ba4 100644 (file)
@@ -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);