From: schwarze Date: Thu, 15 Feb 2018 16:47:26 +0000 (+0000) Subject: Quite absurdly, the OpenSSL folks have been actively mucking around X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=75946e68caa2d3492610e7b977390ef8c0187203;p=openbsd 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. --- 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 .\" @@ -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.