diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2018-04-28 15:45:00 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2018-04-28 15:45:00 +0000 |
commit | d2aaab80e37b4e76e5cd539983916e5d7dbaf773 (patch) | |
tree | e0d12c3bee51150c5e294631e23df47429d120d4 /sys/dev/usb/uonerng.c | |
parent | 88c894b365edc9ba3d99f1dba14020c90bf81e72 (diff) |
replace add_*_randomness with enqueue_randomness()
this gets rid of the source annotation which doesn't really add
anything other than adding complexitiy. randomess is generally
good enough that the few extra bits that the source type would
add are not worth it.
ok mikeb@ deraadt@
Diffstat (limited to 'sys/dev/usb/uonerng.c')
-rw-r--r-- | sys/dev/usb/uonerng.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uonerng.c b/sys/dev/usb/uonerng.c index a9f81810b73..9e59988a187 100644 --- a/sys/dev/usb/uonerng.c +++ b/sys/dev/usb/uonerng.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uonerng.c,v 1.2 2016/09/02 09:14:59 mpi Exp $ */ +/* $OpenBSD: uonerng.c,v 1.3 2018/04/28 15:44:59 jasper Exp $ */ /* * Copyright (C) 2015 Devin Reade <gdr@gno.org> * Copyright (C) 2015 Sean Levy <attila@stalphonsos.com> @@ -424,7 +424,7 @@ uonerng_task(void *arg) int_count = len / sizeof(int); for (i = 0; i < int_count; i++) { - add_true_randomness(sc->sc_buf[i]); + enqueue_randomness(sc->sc_buf[i]); } bail: |