[openssl-dev] [openssl.org #4573] BUG -- Documentation issue with RAND_add in rand.pod

paul.dale@oracle.com via RT rt at openssl.org
Wed Jun 15 01:10:28 UTC 2016


The doc/crypto/rand.pod file incorrectly documents the prototype for the RAND_add function.  The last argument is a double not an int.

It is correctly documented in the doc/crypto/RAND_add.pod file.

 

Fix attached.

 

Pauli

 

-- 

Oracle

Dr Paul Dale | Cryptographer | Network Security & Encryption 

Phone +61 7 3031 7217

Oracle Australia

 

-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4573
Please log in as guest with password guest if prompted

-------------- next part --------------
diff --git a/doc/crypto/rand.pod b/doc/crypto/rand.pod
index 76ec0b6..80c6f3a 100644
--- a/doc/crypto/rand.pod
+++ b/doc/crypto/rand.pod
@@ -14,7 +14,7 @@ rand - pseudo-random number generator
  int  RAND_pseudo_bytes(unsigned char *buf, int num);
 
  void RAND_seed(const void *buf, int num);
- void RAND_add(const void *buf, int num, int entropy);
+ void RAND_add(const void *buf, int num, double entropy);
  int  RAND_status(void);
 
  int  RAND_load_file(const char *file, long max_bytes);


More information about the openssl-dev mailing list