Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incomplete error check on ASN1_item_i2d()
According to the documentation and my analysis tool ASN1_item_i2d() can return a negative value on error, but this is not checked. Fix it by changing the error check condition. CLA: trivial Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from #20251)
- Loading branch information