diff options
author | schwarze <> | 2016-11-29 00:07:45 +0000 |
---|---|---|
committer | schwarze <> | 2016-11-29 00:07:45 +0000 |
commit | 61edd3eb09d0208f1bbeaa437cbbf9fd9544be1e (patch) | |
tree | 420917e21fc24b43f72bccfcd8c88e108454956c /src/lib/libcrypto/man/RAND_add.3 | |
parent | 569b7feeccbae387353267f823b324f61655ea58 (diff) | |
download | openbsd-61edd3eb09d0208f1bbeaa437cbbf9fd9544be1e.tar.gz openbsd-61edd3eb09d0208f1bbeaa437cbbf9fd9544be1e.tar.bz2 openbsd-61edd3eb09d0208f1bbeaa437cbbf9fd9544be1e.zip |
No text remains from OpenSSL, so use the standard OpenBSD license.
Mention the true author (Miod 2014).
Merge the useless page RAND_cleanup(3) into RAND_add(3).
Fix the return type of RAND_set_rand_method(3).
Mention the constant return values.
Diffstat (limited to 'src/lib/libcrypto/man/RAND_add.3')
-rw-r--r-- | src/lib/libcrypto/man/RAND_add.3 | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/src/lib/libcrypto/man/RAND_add.3 b/src/lib/libcrypto/man/RAND_add.3 index 7137218cdc..0c4639063e 100644 --- a/src/lib/libcrypto/man/RAND_add.3 +++ b/src/lib/libcrypto/man/RAND_add.3 | |||
@@ -1,10 +1,25 @@ | |||
1 | .\" $OpenBSD: RAND_add.3,v 1.3 2016/11/25 16:34:08 jmc Exp $ | 1 | .\" $OpenBSD: RAND_add.3,v 1.4 2016/11/29 00:07:45 schwarze Exp $ |
2 | .\" | 2 | .\" |
3 | .Dd $Mdocdate: November 25 2016 $ | 3 | .\" Copyright (c) 2014 Miod Vallat <miod@openbsd.org> |
4 | .\" | ||
5 | .\" Permission to use, copy, modify, and distribute this software for any | ||
6 | .\" purpose with or without fee is hereby granted, provided that the above | ||
7 | .\" copyright notice and this permission notice appear in all copies. | ||
8 | .\" | ||
9 | .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
10 | .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
11 | .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
12 | .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
13 | .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
16 | .\" | ||
17 | .Dd $Mdocdate: November 29 2016 $ | ||
4 | .Dt RAND_ADD 3 | 18 | .Dt RAND_ADD 3 |
5 | .Os | 19 | .Os |
6 | .Sh NAME | 20 | .Sh NAME |
7 | .Nm RAND_add , | 21 | .Nm RAND_add , |
22 | .Nm RAND_cleanup , | ||
8 | .Nm RAND_seed , | 23 | .Nm RAND_seed , |
9 | .Nm RAND_status | 24 | .Nm RAND_status |
10 | .Nd add entropy to the PRNG (DEPRECATED) | 25 | .Nd add entropy to the PRNG (DEPRECATED) |
@@ -17,6 +32,8 @@ | |||
17 | .Fa "double entropy" | 32 | .Fa "double entropy" |
18 | .Fc | 33 | .Fc |
19 | .Ft void | 34 | .Ft void |
35 | .Fn RAND_cleanup void | ||
36 | .Ft void | ||
20 | .Fo RAND_seed | 37 | .Fo RAND_seed |
21 | .Fa "const void *buf" | 38 | .Fa "const void *buf" |
22 | .Fa "int num" | 39 | .Fa "int num" |
@@ -29,6 +46,6 @@ generator to be controlled by external sources. | |||
29 | .Pp | 46 | .Pp |
30 | They are kept for ABI compatibility but are no longer functional, and | 47 | They are kept for ABI compatibility but are no longer functional, and |
31 | should not be used in new programs. | 48 | should not be used in new programs. |
32 | .Sh SEE ALSO | 49 | .Sh RETURN VALUES |
33 | .Xr RAND_cleanup 3 , | 50 | .Fn RAND_status |
34 | .Xr RAND_load_file 3 | 51 | always returns 1. |