Displaying 3 results from an estimated 3 matches for "stir_gettimeofday".
2000 Jun 15
1
problem in entropy.c if no getrusage
entropy.c assumes RUSAGE_SELF and RUSAGE_CHILDREN
*** entropy.c.orig Thu Jun 15 13:57:28 2000
--- entropy.c Thu Jun 15 13:58:25 2000
***************
*** 201,207 ****
--- 201,209 ----
total_entropy_estimate += stir_gettimeofday(1.0);
total_entropy_estimate += stir_clock(0.2);
+ #ifdef HAVE_GETRUSAGE
total_entropy_estimate += stir_rusage(RUSAGE_SELF, 2.0);
+ #endif
return(total_entropy_estimate);
}
***************
*** 247,254 ****
--- 249,258 ----
/* Execution times shou...
2000 Nov 02
2
misc. minor patches
...a while, can't remember whether I sent
them before.
diff -u openssh-2.1.1p1.orig/entropy.c openssh-2.1.1p1/entropy.c
--- openssh-2.1.1p1.orig/entropy.c Wed Jun 7 08:20:23 2000
+++ openssh-2.1.1p1/entropy.c Thu Jun 15 13:58:25 2000
@@ -201,7 +201,9 @@
total_entropy_estimate += stir_gettimeofday(1.0);
total_entropy_estimate += stir_clock(0.2);
+#ifdef HAVE_GETRUSAGE
total_entropy_estimate += stir_rusage(RUSAGE_SELF, 2.0);
+#endif
return(total_entropy_estimate);
}
@@ -247,8 +249,10 @@
/* Execution times should be a little unpredictable */...
2001 Feb 01
0
warnings on aix325
...t declaration of function `shutdown'
packet.c: In function `packet_read':
packet.c:691: warning: implicit declaration of function `bzero'
packet.c: In function `packet_set_interactive':
packet.c:1240: warning: implicit declaration of function `setsockopt'
entropy.c: In function `stir_gettimeofday':
entropy.c:302: warning: implicit declaration of function `gettimeofday'
entropy.c: In function `stir_rusage':
entropy.c:331: warning: implicit declaration of function `getrusage'
entropy.c: In function `hash_output_from_command':
entropy.c:426: warning: implicit declaration of...