foo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@285 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -2,10 +2,7 @@
|
|||||||
|
|
||||||
RCSID("$Id$");
|
RCSID("$Id$");
|
||||||
|
|
||||||
#include <time.h>
|
|
||||||
#ifdef HAVE_SYS_TIME_H
|
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif /* HAVE_SYS_TIME_H */
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -61,7 +58,7 @@ des_clock_rand(unsigned char *data, int size)
|
|||||||
/* Setup signal handler */
|
/* Setup signal handler */
|
||||||
sa.sa_handler = sigALRM;
|
sa.sa_handler = sigALRM;
|
||||||
sa.sa_flags = 0;
|
sa.sa_flags = 0;
|
||||||
sa.sa_mask = 0;
|
sigemptyset(&sa.sa_mask);
|
||||||
sigaction(SIGALRM, &sa, &osa);
|
sigaction(SIGALRM, &sa, &osa);
|
||||||
|
|
||||||
/* Start timer */
|
/* Start timer */
|
||||||
|
Reference in New Issue
Block a user