Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RAND_write_file(): Avoid potential file descriptor leak
If fdopen() call fails we need to close the fd. Also return early as this is most likely some fatal error. Fixes openssl#25064 Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from openssl#25081)
- Loading branch information