5 RAND_cleanup - erase the PRNG state
9 #include <openssl/rand.h>
11 The following function has been deprecated since OpenSSL 1.1.0, and can be
12 hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
13 see L<openssl_user_macros(7)>:
15 void RAND_cleanup(void);
19 Prior to OpenSSL 1.1.0, RAND_cleanup() released all resources used by
20 the PRNG. As of version 1.1.0, it does nothing and should not be called,
21 since no explicit initialisation or de-initialisation is necessary. See
22 L<OPENSSL_init_crypto(3)>.
26 RAND_cleanup() returns no value.
34 RAND_cleanup() was deprecated in OpenSSL 1.1.0; do not use it.
35 See L<OPENSSL_init_crypto(3)>
39 Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved.
41 Licensed under the Apache License 2.0 (the "License"). You may not use
42 this file except in compliance with the License. You can obtain a copy
43 in the file LICENSE in the source distribution or at
44 L<https://www.openssl.org/source/license.html>.