diff options
Diffstat (limited to 'deps/openssl/openssl/doc/crypto/RAND_cleanup.pod')
-rw-r--r-- | deps/openssl/openssl/doc/crypto/RAND_cleanup.pod | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/deps/openssl/openssl/doc/crypto/RAND_cleanup.pod b/deps/openssl/openssl/doc/crypto/RAND_cleanup.pod index 3a8f0749a8..2640c7d2c7 100644 --- a/deps/openssl/openssl/doc/crypto/RAND_cleanup.pod +++ b/deps/openssl/openssl/doc/crypto/RAND_cleanup.pod @@ -8,11 +8,15 @@ RAND_cleanup - erase the PRNG state #include <openssl/rand.h> - void RAND_cleanup(void); + #if OPENSSL_API_COMPAT < 0x10100000L + void RAND_cleanup(void) + #endif =head1 DESCRIPTION -RAND_cleanup() erases the memory used by the PRNG. +Prior to OpenSSL 1.1.0 RAND_cleanup() erases the memory used by the PRNG. This +function is deprecated and as of version 1.1.0 does nothing. No explicit +initialisation or de-initialisation is necessary. See L<OPENSSL_init_crypto(3)>. =head1 RETURN VALUE @@ -20,10 +24,19 @@ RAND_cleanup() returns no value. =head1 SEE ALSO -L<rand(3)|rand(3)> +L<rand(3)> =head1 HISTORY -RAND_cleanup() is available in all versions of SSLeay and OpenSSL. +RAND_cleanup() was deprecated in OpenSSL 1.1.0. + +=head1 COPYRIGHT + +Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved. + +Licensed under the OpenSSL license (the "License"). You may not use +this file except in compliance with the License. You can obtain a copy +in the file LICENSE in the source distribution or at +L<https://www.openssl.org/source/license.html>. =cut |