From ed7a749f01f9352113a1178ba03a4104a82e7f69 Mon Sep 17 00:00:00 2001 From: WillChilds-Klein Date: Tue, 27 Aug 2024 14:50:47 +0000 Subject: [PATCH] Remove unnecessary cast from ASN1_item_d2i_bio --- crypto/pkcs7/pkcs7_x509.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/pkcs7/pkcs7_x509.c b/crypto/pkcs7/pkcs7_x509.c index 3498d881377..7a3f6c97520 100644 --- a/crypto/pkcs7/pkcs7_x509.c +++ b/crypto/pkcs7/pkcs7_x509.c @@ -241,7 +241,7 @@ PKCS7 *d2i_PKCS7_bio(BIO *bio, PKCS7 **out) { return NULL; } - return ASN1_item_d2i_bio(ASN1_ITEM_rptr(PKCS7), bio, (void *) *out); + return ASN1_item_d2i_bio(ASN1_ITEM_rptr(PKCS7), bio, *out); } int i2d_PKCS7_bio(BIO *bio, const PKCS7 *p7) {