You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bn...@apache.org on 2002/03/05 20:44:31 UTC
cvs commit: apr/misc/netware rand.c
bnicholes 02/03/05 11:44:31
Modified: misc/netware rand.c
Log:
NetWare LibC API change for getting random bytes
Revision Changes Path
1.3 +0 -8 apr/misc/netware/rand.c
Index: rand.c
===================================================================
RCS file: /home/cvs/apr/misc/netware/rand.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- rand.c 8 Feb 2002 19:13:43 -0000 1.2
+++ rand.c 5 Mar 2002 19:44:31 -0000 1.3
@@ -61,18 +61,10 @@
#include <nks/plat.h>
-#ifdef WAITING_FOR_UPDATE
-int NXGetRandom( size_t width, void *result );
-#endif
-
APR_DECLARE(apr_status_t) apr_generate_random_bytes(unsigned char *buf,
int length)
{
-#ifdef WAITING_FOR_UPDATE
- return NXGetRandom(length, buf);
-#else
return NXSeedRandom(length, buf);
-#endif
}
#endif /* APR_HAS_RANDOM */