summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/sysdep/openbsd/sysdep.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-05 22:40:38 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-05 22:40:38 +0000
commit38eb4fb6b730d3586ea8d40e33c6756b12b09b2a (patch)
treee5303a42aac8cbda0d0d284a79306a848bf115d5 /sbin/isakmpd/sysdep/openbsd/sysdep.c
parent7501bb79a0a27cb1919d5f764efe8443cd2bf671 (diff)
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.
Diffstat (limited to 'sbin/isakmpd/sysdep/openbsd/sysdep.c')
-rw-r--r--sbin/isakmpd/sysdep/openbsd/sysdep.c12
1 files changed, 4 insertions, 8 deletions
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"
@@ -63,12 +65,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.
*/