diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-06-14 18:01:43 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-06-14 18:01:43 +0000 |
commit | cbf3e14ec7834e54db468122cf6865c84e80d25b (patch) | |
tree | 0f4072bf208ecf532b24841cc42cb5e6da132f13 /lib/librt | |
parent | ba0463e107f357d96efbd924e14f1514be0cdd26 (diff) |
Change return value of getentropy() to int 0 for success. Maximum
buffersize is enforced strictly, this supplies sufficient entropy
payload to act as seed material. Discourage general use of this
API, but lock down this function name as the go-to for userland
PRNG seeding. Improve documentation.
ok miod matthew
Diffstat (limited to 'lib/librt')
0 files changed, 0 insertions, 0 deletions