Remove SSLeay history, etc., from docs
[openssl.git] / doc / crypto / RAND_load_file.pod
index 1cd14dc52f584e91a2fd5170f52b0a1cdf28a66a..debf06fa2e25bbe6ad93711608adae8ce5fbcefd 100644 (file)
@@ -8,7 +8,7 @@ RAND_load_file, RAND_write_file, RAND_file_name - PRNG seed file
 
  #include <openssl/rand.h>
 
- char *RAND_file_name(char *buf, int num);
+ const char *RAND_file_name(char *buf, size_t num);
 
  int RAND_load_file(const char *filename, long max_bytes);
 
@@ -24,11 +24,11 @@ too small for the path name, an error occurs.
 
 RAND_load_file() reads a number of bytes from file B<filename> and
 adds them to the PRNG. If B<max_bytes> is non-negative,
-up to to B<max_bytes> are read; if B<max_bytes> is -1, the complete file
-is read.
+up to to B<max_bytes> are read;
+if B<max_bytes> is -1, the complete file is read.
 
 RAND_write_file() writes a number of random bytes (currently 1024) to
-file B<filename> which can be used to initialze the PRNG by calling
+file B<filename> which can be used to initialize the PRNG by calling
 RAND_load_file() in a later session.
 
 =head1 RETURN VALUES
@@ -43,11 +43,6 @@ error.
 
 =head1 SEE ALSO
 
-L<rand(3)|rand(3)>, L<RAND_add(3)|RAND_add(3)>, L<RAND_cleanup(3)|RAND_cleanup(3)>
-
-=head1 HISTORY
-
-RAND_load_file(), RAND_write_file() and RAND_file_name() are available in
-all versions of SSLeay and OpenSSL.
+L<rand(3)>, L<RAND_add(3)>, L<RAND_cleanup(3)>
 
 =cut