113d40330Schristos=pod 213d40330Schristos 313d40330Schristos=head1 NAME 413d40330Schristos 513d40330SchristosRAND_cleanup - erase the PRNG state 613d40330Schristos 713d40330Schristos=head1 SYNOPSIS 813d40330Schristos 913d40330Schristos #include <openssl/rand.h> 1013d40330Schristos 11*b0d17251SchristosThe following function has been deprecated since OpenSSL 1.1.0, and can be 12*b0d17251Schristoshidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, 13*b0d17251Schristossee L<openssl_user_macros(7)>: 14*b0d17251Schristos 15*b0d17251Schristos void RAND_cleanup(void); 1613d40330Schristos 1713d40330Schristos=head1 DESCRIPTION 1813d40330Schristos 1913d40330SchristosPrior to OpenSSL 1.1.0, RAND_cleanup() released all resources used by 2013d40330Schristosthe PRNG. As of version 1.1.0, it does nothing and should not be called, 2113d40330Schristossince no explicit initialisation or de-initialisation is necessary. See 2213d40330SchristosL<OPENSSL_init_crypto(3)>. 2313d40330Schristos 2413d40330Schristos=head1 RETURN VALUES 2513d40330Schristos 2613d40330SchristosRAND_cleanup() returns no value. 2713d40330Schristos 28a3b08d93Schristos=head1 SEE ALSO 29a3b08d93Schristos 30a3b08d93SchristosL<RAND(7)> 31a3b08d93Schristos 3213d40330Schristos=head1 HISTORY 3313d40330Schristos 3413d40330SchristosRAND_cleanup() was deprecated in OpenSSL 1.1.0; do not use it. 3513d40330SchristosSee L<OPENSSL_init_crypto(3)> 3613d40330Schristos 3713d40330Schristos=head1 COPYRIGHT 3813d40330Schristos 39*b0d17251SchristosCopyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved. 4013d40330Schristos 41*b0d17251SchristosLicensed under the Apache License 2.0 (the "License"). You may not use 4213d40330Schristosthis file except in compliance with the License. You can obtain a copy 4313d40330Schristosin the file LICENSE in the source distribution or at 4413d40330SchristosL<https://www.openssl.org/source/license.html>. 4513d40330Schristos 4613d40330Schristos=cut 47