From 560466b4d8ed869f11e0e64c911ed571c8a72a45 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sat, 7 Feb 2015 01:19:41 +0000 Subject: New framework that allows hibernate to pass in entropy from it's fresh boot. ok mlarkin --- sys/arch/i386/i386/apm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/i386') 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); -- cgit v1.2.3