Skip to content

Commit

Permalink
Close FD in Snapsafe test function
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Jun 20, 2024
1 parent f31fd31 commit 2b991a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crypto/fipsmodule/rand/snapsafe_detect.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ int HAZMAT_init_sysgenid_file(void) {
}

if (0 != fsync(fd_sgn)) {
close(fd_sgn);
return 0;
}

Expand Down

0 comments on commit 2b991a8

Please sign in to comment.