summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/doc/RAND_load_file.pod
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/doc/RAND_load_file.pod')
-rw-r--r--src/lib/libcrypto/doc/RAND_load_file.pod52
1 files changed, 0 insertions, 52 deletions
diff --git a/src/lib/libcrypto/doc/RAND_load_file.pod b/src/lib/libcrypto/doc/RAND_load_file.pod
deleted file mode 100644
index 5e4c2481d8..0000000000
--- a/src/lib/libcrypto/doc/RAND_load_file.pod
+++ /dev/null
@@ -1,52 +0,0 @@
1=pod
2
3=head1 NAME
4
5RAND_load_file, RAND_write_file, RAND_file_name - PRNG seed file
6
7=head1 SYNOPSIS
8
9 #include <openssl/rand.h>
10
11 const char *RAND_file_name(char *buf, size_t num);
12
13 int RAND_load_file(const char *filename, long max_bytes);
14
15 int RAND_write_file(const char *filename);
16
17=head1 DESCRIPTION
18
19RAND_file_name() returns a default path for the random seed file.
20B<buf> points to a buffer of size B<num> in which to store the
21filename. If B<num> is too small for the path name, an error occurs.
22
23RAND_load_file() used to allow for the state of the random number generator
24to be controlled by external sources.
25
26It is kept for ABI compatibility but is no longer functional, and
27should not used in new programs.
28
29RAND_write_file() writes a number of random bytes (currently 1024) to
30file B<filename>.
31
32=head1 RETURN VALUES
33
34RAND_load_file() always returns 0.
35
36RAND_write_file() returns the number of bytes written, and -1 if the
37bytes written were generated without appropriate seed.
38
39RAND_file_name() returns a pointer to B<buf> on success, and NULL on
40error.
41
42=head1 SEE ALSO
43
44L<rand(3)|rand(3)>, L<RAND_add(3)|RAND_add(3)>,
45L<RAND_cleanup(3)|RAND_cleanup(3)>
46
47=head1 HISTORY
48
49RAND_load_file(), RAND_write_file() and RAND_file_name() are available in
50all versions of SSLeay and OpenSSL.
51
52=cut