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