1RAND_CLEANUP(3ossl)                 OpenSSL                RAND_CLEANUP(3ossl)
2
3
4

NAME

6       RAND_cleanup - erase the PRNG state
7

SYNOPSIS

9        #include <openssl/rand.h>
10
11       The following function has been deprecated since OpenSSL 1.1.0, and can
12       be hidden entirely by defining OPENSSL_API_COMPAT with a suitable
13       version value, see openssl_user_macros(7):
14
15        void RAND_cleanup(void);
16

DESCRIPTION

18       Prior to OpenSSL 1.1.0, RAND_cleanup() released all resources used by
19       the PRNG.  As of version 1.1.0, it does nothing and should not be
20       called, since no explicit initialisation or de-initialisation is
21       necessary. See OPENSSL_init_crypto(3).
22

RETURN VALUES

24       RAND_cleanup() returns no value.
25

SEE ALSO

27       RAND(7)
28

HISTORY

30       RAND_cleanup() was deprecated in OpenSSL 1.1.0; do not use it.  See
31       OPENSSL_init_crypto(3)
32
34       Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
35
36       Licensed under the Apache License 2.0 (the "License").  You may not use
37       this file except in compliance with the License.  You can obtain a copy
38       in the file LICENSE in the source distribution or at
39       <https://www.openssl.org/source/license.html>.
40
41
42
433.1.1                             2023-08-31               RAND_CLEANUP(3ossl)
Impressum