1RAND_CLEANUP(3) OpenSSL RAND_CLEANUP(3)
2
3
4
6 RAND_cleanup - erase the PRNG state
7
9 #include <openssl/rand.h>
10
11 #if OPENSSL_API_COMPAT < 0x10100000L
12 void RAND_cleanup(void)
13 #endif
14
16 Prior to OpenSSL 1.1.0, RAND_cleanup() released all resources used by
17 the PRNG. As of version 1.1.0, it does nothing and should not be
18 called, since no explicit initialisation or de-initialisation is
19 necessary. See OPENSSL_init_crypto(3).
20
22 RAND_cleanup() returns no value.
23
25 RAND(7)
26
28 RAND_cleanup() was deprecated in OpenSSL 1.1.0; do not use it. See
29 OPENSSL_init_crypto(3)
30
32 Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
33
34 Licensed under the OpenSSL license (the "License"). You may not use
35 this file except in compliance with the License. You can obtain a copy
36 in the file LICENSE in the source distribution or at
37 <https://www.openssl.org/source/license.html>.
38
39
40
411.1.1i 2021-01-26 RAND_CLEANUP(3)