diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-02-07 01:19:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-02-07 01:19:41 +0000 |
commit | 560466b4d8ed869f11e0e64c911ed571c8a72a45 (patch) | |
tree | afcf89c873d6c4a174847778e4422c71ae9cd6ea /sys/arch/i386 | |
parent | 9e6116250947a5005add48c1f4de9c3033f151be (diff) |
New framework that allows hibernate to pass in entropy from it's fresh
boot.
ok mlarkin
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/apm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/apm.c b/sys/arch/i386/i386/apm.c index ff4454a8f5f..c6b8a21d9d3 100644 --- a/sys/arch/i386/i386/apm.c +++ b/sys/arch/i386/i386/apm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apm.c,v 1.112 2014/12/18 17:02:35 deraadt Exp $ */ +/* $OpenBSD: apm.c,v 1.113 2015/02/07 01:19:40 deraadt Exp $ */ /*- * Copyright (c) 1998-2001 Michael Shalayeff. All rights reserved. @@ -278,7 +278,7 @@ apm_suspend(int state) enable_intr(); splx(s); - resume_randomness(); /* force RNG upper level reseed */ + resume_randomness(NULL, 0); /* force RNG upper level reseed */ bufq_restart(); config_suspend_all(DVACT_WAKEUP); |