[Openvas-commits] r2662 - in trunk/openvas-client: . libnessus
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Mar 4 14:45:18 CET 2009
Author: mwiegand
Date: 2009-03-04 14:45:17 +0100 (Wed, 04 Mar 2009)
New Revision: 2662
Modified:
trunk/openvas-client/ChangeLog
trunk/openvas-client/libnessus/rand.c
Log:
* nessus/rand.c: Added commented RATS ignore since moderate randomness
is enough for our purpose here.
Modified: trunk/openvas-client/ChangeLog
===================================================================
--- trunk/openvas-client/ChangeLog 2009-03-04 12:17:39 UTC (rev 2661)
+++ trunk/openvas-client/ChangeLog 2009-03-04 13:45:17 UTC (rev 2662)
@@ -1,3 +1,8 @@
+2009-03-04 Michael Wiegand <michael.wiegand at intevation.de>
+
+ * nessus/rand.c: Added commented RATS ignore since moderate randomness
+ is enough for our purpose here.
+
2009-03-04 Felix Wolfsteller <felix.wolfsteller at intevation.de>
Disabled priority mapping at server message parsing level.
Modified: trunk/openvas-client/libnessus/rand.c
===================================================================
--- trunk/openvas-client/libnessus/rand.c 2009-03-04 12:17:39 UTC (rev 2661)
+++ trunk/openvas-client/libnessus/rand.c 2009-03-04 13:45:17 UTC (rev 2662)
@@ -68,20 +68,20 @@
gettimeofday(&tv, NULL);
x += tv.tv_sec * 3 + tv.tv_usec + getpid() * 7 + getppid();
- srand48(x);
+ srand48(x); /* RATS: ignore. As stated above, moderate randomness is enough for our purpose. */
}
#ifndef HAVE_LRAND48
ExtFunc
-long lrand48()
+long lrand48() /* RATS: ignore. As stated above, moderate randomness is enough for our purpose. */
{
- return rand();
+ return rand(); /* RATS: ignore. As stated above, moderate randomness is enough for our purpose. */
}
ExtFunc
-void srand48(long seed)
+void srand48(long seed) /* RATS: ignore. As stated above, moderate randomness is enough for our purpose. */
{
- srand(seed);
+ srand(seed); /* RATS: ignore. As stated above, moderate randomness is enough for our purpose. */
}
#endif
More information about the Openvas-commits
mailing list