RAND: document that the ENGINE RAND override is deprecated.
authorPauli <paul.dale@oracle.com>
Tue, 14 Jul 2020 00:27:39 +0000 (10:27 +1000)
committerRichard Levitte <levitte@openssl.org>
Thu, 16 Jul 2020 07:12:27 +0000 (09:12 +0200)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12226)

doc/man3/RAND_set_rand_method.pod

index bd6606c81f78c64a77f25b231189cc5472c256e2..a989c1c9b471c6be5260d1ba6e7fefeec8cc7d3c 100644 (file)
@@ -23,7 +23,8 @@ RAND_OpenSSL() returns the default B<RAND_METHOD> implementation by OpenSSL.
 This implementation ensures that the PRNG state is unique for each thread.
 
 If an B<ENGINE> is loaded that provides the RAND API, however, it will
-be used instead of the method returned by RAND_OpenSSL().
+be used instead of the method returned by RAND_OpenSSL().  This is deprecated
+in OpenSSL 3.0.
 
 RAND_set_rand_method() makes B<meth> the method for PRNG use.  If an
 ENGINE was providing the method, it will be released first.
@@ -58,6 +59,11 @@ L<RAND_bytes(3)>,
 L<ENGINE_by_id(3)>,
 L<RAND(7)>
 
+=head1 HISTORY
+
+The ability for an B<ENGINE> to replace the RAND API was deprecated in
+OpenSSL 3.0.
+
 =head1 COPYRIGHT
 
 Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved.