fixed stupid mistakes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1188 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -173,9 +173,7 @@ sigALRM(int sig)
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_RANDOM
|
static void
|
||||||
|
|
||||||
void
|
|
||||||
des_not_rand_data(unsigned char *data, int size)
|
des_not_rand_data(unsigned char *data, int size)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
@@ -186,12 +184,11 @@ des_not_rand_data(unsigned char *data, int size)
|
|||||||
data[i] ^= random() % 0x100;
|
data[i] ^= random() % 0x100;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(WIN32) && !defined(__EMX__) && !defined(__OS2__)
|
#if !defined(WIN32) && !defined(__EMX__) && !defined(__OS2__)
|
||||||
|
|
||||||
#ifndef HAVE_SETITIMER
|
#ifndef HAVE_SETITIMER
|
||||||
void pacemaker(struct timeval *tv)
|
static void
|
||||||
|
pacemaker(struct timeval *tv)
|
||||||
{
|
{
|
||||||
fd_set fds;
|
fd_set fds;
|
||||||
pid_t pid;
|
pid_t pid;
|
||||||
@@ -281,7 +278,7 @@ des_rand_data(unsigned char *data, int size)
|
|||||||
void
|
void
|
||||||
des_rand_data(unsigned char *p, int s)
|
des_rand_data(unsigned char *p, int s)
|
||||||
{
|
{
|
||||||
return des_not_rand_data (p, s);
|
des_not_rand_data (p, s);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user