Commit 3e59b83
committed
Only keep /dev/urandom open, close /dev/random after each use.
Improve logic for opening RNG seed FD.1 parent b0b840a commit 3e59b83
2 files changed
+19
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3568 | 3568 | | |
3569 | 3569 | | |
3570 | 3570 | | |
3571 | | - | |
| 3571 | + | |
3572 | 3572 | | |
3573 | 3573 | | |
3574 | 3574 | | |
| |||
3585 | 3585 | | |
3586 | 3586 | | |
3587 | 3587 | | |
| 3588 | + | |
| 3589 | + | |
| 3590 | + | |
| 3591 | + | |
| 3592 | + | |
| 3593 | + | |
3588 | 3594 | | |
3589 | 3595 | | |
3590 | | - | |
| 3596 | + | |
| 3597 | + | |
3591 | 3598 | | |
| 3599 | + | |
3592 | 3600 | | |
3593 | 3601 | | |
3594 | 3602 | | |
| |||
3613 | 3621 | | |
3614 | 3622 | | |
3615 | 3623 | | |
3616 | | - | |
| 3624 | + | |
| 3625 | + | |
| 3626 | + | |
| 3627 | + | |
| 3628 | + | |
| 3629 | + | |
| 3630 | + | |
| 3631 | + | |
3617 | 3632 | | |
3618 | 3633 | | |
3619 | 3634 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| |||
0 commit comments