apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: apr/misc/netware rand.c
Date Tue, 05 Mar 2002 19:44:31 GMT
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 */
  
  
  

Mime
View raw message