From 38eb4fb6b730d3586ea8d40e33c6756b12b09b2a Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Thu, 5 Aug 1999 22:40:38 +0000 Subject: regress/rsakeygen/Makefile: Merge with EOM 1.5 sysdep/openbsd/sysdep.c: Merge with EOM 1.8 cookie.c: Merge with EOM 1.21 util.c: Merge with EOM 1.15 util.h: Merge with EOM 1.7 author: niklas Move regrand var to util.c, and get the decl from util.h, do not update the cookie secret if in deterministic mode. --- sbin/isakmpd/sysdep/openbsd/sysdep.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'sbin/isakmpd/sysdep/openbsd/sysdep.c') diff --git a/sbin/isakmpd/sysdep/openbsd/sysdep.c b/sbin/isakmpd/sysdep/openbsd/sysdep.c index 382b718ddef..459af34bab9 100644 --- a/sbin/isakmpd/sysdep/openbsd/sysdep.c +++ b/sbin/isakmpd/sysdep/openbsd/sysdep.c @@ -1,5 +1,5 @@ -/* $OpenBSD: sysdep.c,v 1.5 1999/05/01 20:43:40 niklas Exp $ */ -/* $EOM: sysdep.c,v 1.7 1999/05/01 20:21:23 niklas Exp $ */ +/* $OpenBSD: sysdep.c,v 1.6 1999/08/05 22:40:37 niklas Exp $ */ +/* $EOM: sysdep.c,v 1.8 1999/08/05 15:00:06 niklas Exp $ */ /* * Copyright (c) 1998, 1999 Niklas Hallqvist. All rights reserved. @@ -43,6 +43,8 @@ #include "sysdep.h" +#include "util.h" + #ifdef NEED_SYSDEP_APP #include "app.h" #include "conf.h" @@ -62,12 +64,6 @@ extern char *__progname; -/* - * This is set to true in case of regression-test mode, when it will - * cause predictable random numbers be generated. - */ -int regrand = 0; - /* * An as strong as possible random number generator, reverting to a * deterministic pseudo-random one if regrand is set. -- cgit v1.2.3