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_set_rand_method.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_set_rand_method.3')
-rw-r--r-- | src/lib/libcrypto/man/RAND_set_rand_method.3 | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/RAND_set_rand_method.3 b/src/lib/libcrypto/man/RAND_set_rand_method.3 index cb5675d4aa..6f99335166 100644 --- a/src/lib/libcrypto/man/RAND_set_rand_method.3 +++ b/src/lib/libcrypto/man/RAND_set_rand_method.3 | |||
@@ -1,6 +1,20 @@ | |||
1 | .\" $OpenBSD: RAND_set_rand_method.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ | 1 | .\" $OpenBSD: RAND_set_rand_method.3,v 1.3 2016/11/29 00:07:45 schwarze Exp $ |
2 | .\" | 2 | .\" |
3 | .Dd $Mdocdate: November 6 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_SET_RAND_METHOD 3 | 18 | .Dt RAND_SET_RAND_METHOD 3 |
5 | .Os | 19 | .Os |
6 | .Sh NAME | 20 | .Sh NAME |
@@ -10,7 +24,7 @@ | |||
10 | .Nd select RAND method | 24 | .Nd select RAND method |
11 | .Sh SYNOPSIS | 25 | .Sh SYNOPSIS |
12 | .In openssl/rand.h | 26 | .In openssl/rand.h |
13 | .Ft void | 27 | .Ft int |
14 | .Fo RAND_set_rand_method | 28 | .Fo RAND_set_rand_method |
15 | .Fa "const RAND_METHOD *meth" | 29 | .Fa "const RAND_METHOD *meth" |
16 | .Fc | 30 | .Fc |
@@ -24,6 +38,14 @@ to be replaced by arbitrary code. | |||
24 | .Pp | 38 | .Pp |
25 | They are kept for ABI compatibility but are no longer functional, and | 39 | They are kept for ABI compatibility but are no longer functional, and |
26 | should not be used in new programs. | 40 | should not be used in new programs. |
41 | .Sh RETURN VALUES | ||
42 | .Fn RAND_set_rand_method | ||
43 | always returns 1. | ||
44 | .Fn RAND_get_rand_method | ||
45 | and | ||
46 | .Fn RAND_SSLeay | ||
47 | always return | ||
48 | .Dv NULL . | ||
27 | .Sh HISTORY | 49 | .Sh HISTORY |
28 | .Fn RAND_set_rand_method , | 50 | .Fn RAND_set_rand_method , |
29 | .Fn RAND_get_rand_method , | 51 | .Fn RAND_get_rand_method , |