xref: /freebsd/crypto/openssl/doc/man3/RAND_cleanup.pod (revision ba3c1f5972d7b90feb6e6da47905ff2757e0fe57)
1=pod
2
3=head1 NAME
4
5RAND_cleanup - erase the PRNG state
6
7=head1 SYNOPSIS
8
9 #include <openssl/rand.h>
10
11The following function has been deprecated since OpenSSL 1.1.0, and can be
12hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
13see L<openssl_user_macros(7)>:
14
15 void RAND_cleanup(void);
16
17=head1 DESCRIPTION
18
19Prior to OpenSSL 1.1.0, RAND_cleanup() released all resources used by
20the PRNG.  As of version 1.1.0, it does nothing and should not be called,
21since no explicit initialisation or de-initialisation is necessary. See
22L<OPENSSL_init_crypto(3)>.
23
24=head1 RETURN VALUES
25
26RAND_cleanup() returns no value.
27
28=head1 SEE ALSO
29
30L<RAND(7)>
31
32=head1 HISTORY
33
34RAND_cleanup() was deprecated in OpenSSL 1.1.0; do not use it.
35See L<OPENSSL_init_crypto(3)>
36
37=head1 COPYRIGHT
38
39Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
40
41Licensed under the Apache License 2.0 (the "License").  You may not use
42this file except in compliance with the License.  You can obtain a copy
43in the file LICENSE in the source distribution or at
44L<https://www.openssl.org/source/license.html>.
45
46=cut
47