diff options
author | 2018-02-15 16:47:26 +0000 | |
---|---|---|
committer | 2018-02-15 16:47:26 +0000 | |
commit | 75946e68caa2d3492610e7b977390ef8c0187203 (patch) | |
tree | f2abae98b200c14dbbbc3a524806d8f08e586150 | |
parent | Add missing RETURN VALUES section; (diff) | |
download | wireguard-openbsd-75946e68caa2d3492610e7b977390ef8c0187203.tar.xz wireguard-openbsd-75946e68caa2d3492610e7b977390ef8c0187203.zip |
Quite absurdly, the OpenSSL folks have been actively mucking around
with their random subsystem in 2017 rather than relying on the
operating system, which made me check the changes to their manual
pages, which caused me to notice that they document another public
function as non-deprecated that we neutered: RAND_poll(3).
Mention it briefly.
-rw-r--r-- | lib/libcrypto/man/RAND_add.3 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/libcrypto/man/RAND_add.3 b/lib/libcrypto/man/RAND_add.3 index 10ab096508f..7eeebd7b1e9 100644 --- a/lib/libcrypto/man/RAND_add.3 +++ b/lib/libcrypto/man/RAND_add.3 @@ -1,4 +1,5 @@ -.\" $OpenBSD: RAND_add.3,v 1.5 2016/12/15 06:52:02 jmc Exp $ +.\" $OpenBSD: RAND_add.3,v 1.6 2018/02/15 16:47:26 schwarze Exp $ +.\" content checked up to: OpenSSL c16de9d8 Aug 31 23:16:22 2017 +0200 .\" .\" Copyright (c) 2014 Miod Vallat <miod@openbsd.org> .\" @@ -14,12 +15,13 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: December 15 2016 $ +.Dd $Mdocdate: February 15 2018 $ .Dt RAND_ADD 3 .Os .Sh NAME .Nm RAND_add , .Nm RAND_cleanup , +.Nm RAND_poll , .Nm RAND_seed , .Nm RAND_status .Nd manipulate the PRNG state @@ -33,6 +35,8 @@ .Fc .Ft void .Fn RAND_cleanup void +.Ft int +.Fn RAND_poll void .Ft void .Fo RAND_seed .Fa "const void *buf" @@ -47,5 +51,7 @@ generator to be controlled by external sources. They are kept for ABI compatibility but are no longer functional, and should not be used in new programs. .Sh RETURN VALUES +.Fn RAND_poll +and .Fn RAND_status -always returns 1. +always return 1. |