(des_not_rand_data): conditionalize on HAVE_SETITIMER

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10197 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2001-06-29 14:27:36 +00:00
parent b4a6a79d1a
commit bc34c3ec29

View File

@@ -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__)