From bc34c3ec295ea5c16d51e7d78ff562dc558f0f68 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Fri, 29 Jun 2001 14:27:36 +0000 Subject: [PATCH] (des_not_rand_data): conditionalize on HAVE_SETITIMER git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10197 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/des/rnd_keys.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/des/rnd_keys.c b/lib/des/rnd_keys.c index 1408e2f8f..bd7458db3 100644 --- a/lib/des/rnd_keys.c +++ b/lib/des/rnd_keys.c @@ -194,6 +194,7 @@ sigALRM(int sig) #endif #endif +#ifndef HAVE_SETITIMER static void des_not_rand_data(unsigned char *data, int size) { @@ -204,6 +205,7 @@ des_not_rand_data(unsigned char *data, int size) for(i = 0; i < size; ++i) data[i] ^= random() % 0x100; } +#endif #if !defined(WIN32) && !defined(__EMX__) && !defined(__OS2__) && !defined(__CYGWIN32__)