mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-21 06:09:13 -04:00
[RT #1709] Change isc_entropy_usebestsource() to have saner semantics: - If an invalid file is specified, an error will be returned instead of the keyboard being used. - If no file is specified but a random device is present, the keyboard will be used if there is an error opening the random device. - ISC_ENTROPY_KEYBOARDYES indicates that the keyboard should be the only device used. Otherwise, passing '-r keyboard' is meaningless on a machine with a random device, since the keyboard will not be used. Change the callers in the dnssec tools and rndc-confgen to check for the special file "keyboard" and call isc_entropy_usebestsource() with the right set of parameters. |
||
|---|---|---|
| .. | ||
| include/rndc | ||
| unix | ||
| win32 | ||
| .cvsignore | ||
| Makefile.in | ||
| rndc-confgen.8 | ||
| rndc-confgen.c | ||
| rndc-confgen.docbook | ||
| rndc-confgen.html | ||
| rndc.8 | ||
| rndc.c | ||
| rndc.conf | ||
| rndc.conf.5 | ||
| rndc.conf.docbook | ||
| rndc.conf.html | ||
| rndc.docbook | ||
| rndc.html | ||
| util.c | ||
| util.h | ||