|
Lines 888-890
main(int argc, char **argv)
Link Here
|
| 888 |
|
888 |
|
| 889 |
return ret == bytes ? 0 : 1; |
889 |
return ret == bytes ? 0 : 1; |
| 890 |
} |
890 |
} |
|
|
891 |
|
| 892 |
/* |
| 893 |
* We may attempt to re-seed during mkstemp if we are using the one in the |
| 894 |
* compat library (via mkstemp -> arc4random -> seed_rng) so we need |
| 895 |
* our own seed_rng(). We must also check that we have enough entropy. |
| 896 |
*/ |
| 897 |
void |
| 898 |
seed_rng(void) |
| 899 |
{ |
| 900 |
if (!RAND_status()) |
| 901 |
fatal("Not enough entropy in RNG"); |
| 902 |
} |