From d2aaab80e37b4e76e5cd539983916e5d7dbaf773 Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Sat, 28 Apr 2018 15:45:00 +0000 Subject: 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@ --- sys/dev/pci/safe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/safe.c') diff --git a/sys/dev/pci/safe.c b/sys/dev/pci/safe.c index 0a4c0de75a5..801e982455f 100644 --- a/sys/dev/pci/safe.c +++ b/sys/dev/pci/safe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: safe.c,v 1.42 2017/02/07 17:25:46 patrick Exp $ */ +/* $OpenBSD: safe.c,v 1.43 2018/04/28 15:44:59 jasper Exp $ */ /*- * Copyright (c) 2003 Sam Leffler, Errno Consulting @@ -1236,7 +1236,7 @@ retry: WRITE_REG(sc, SAFE_RNG_ALM_CNT, 0); for (i = 0; i < maxwords; i++) - add_true_randomness(buf[i]); + enqueue_randomness(buf[i]); timeout_add_sec(&sc->sc_rngto, safe_rnginterval); } -- cgit v1.2.3