From 23646971cd17d48b0faf04a79139d1c989af79ab Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Thu, 15 Feb 2018 16:47:26 +0000 Subject: 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. --- src/lib/libcrypto/man/RAND_add.3 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/man/RAND_add.3 b/src/lib/libcrypto/man/RAND_add.3 index 10ab096508..7eeebd7b1e 100644 --- a/src/lib/libcrypto/man/RAND_add.3 +++ b/src/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 .\" @@ -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. -- cgit v1.2.3-55-g6feb