Skip to content

Commit

Permalink
Remove unnecessary cast from ASN1_item_d2i_bio
Browse files Browse the repository at this point in the history
  • Loading branch information
WillChilds-Klein committed Aug 27, 2024
1 parent 11731ce commit ed7a749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/pkcs7/pkcs7_x509.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ed7a749

Please sign in to comment.