]>
Commit | Line | Data |
---|---|---|
60b52453 UM |
1 | =pod |
2 | ||
3 | =head1 NAME | |
4 | ||
5 | RAND_cleanup - erase the PRNG state | |
6 | ||
7 | =head1 SYNOPSIS | |
8 | ||
9 | #include <openssl/rand.h> | |
10 | ||
fcd2d5a6 RL |
11 | Deprecated since OpenSSL 1.1.0, can be hidden entirely by defining |
12 | B<OPENSSL_API_COMPAT> with a suitable version value, see | |
13 | L<openssl_user_macros(7)>: | |
14 | ||
1d5099de | 15 | void RAND_cleanup(void) |
60b52453 | 16 | |
02eca5c6 RS |
17 | =head1 DESCRIPTION |
18 | ||
04256277 RS |
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, | |
a970b14f | 21 | since no explicit initialisation or de-initialisation is necessary. See |
04256277 | 22 | L<OPENSSL_init_crypto(3)>. |
60b52453 | 23 | |
1f13ad31 | 24 | =head1 RETURN VALUES |
60b52453 UM |
25 | |
26 | RAND_cleanup() returns no value. | |
27 | ||
b5c4bbbe JL |
28 | =head1 SEE ALSO |
29 | ||
30 | L<RAND(7)> | |
31 | ||
f3cd81d6 MC |
32 | =head1 HISTORY |
33 | ||
b3696a55 RS |
34 | RAND_cleanup() was deprecated in OpenSSL 1.1.0; do not use it. |
35 | See L<OPENSSL_init_crypto(3)> | |
f3cd81d6 | 36 | |
e2f92610 RS |
37 | =head1 COPYRIGHT |
38 | ||
b5c4bbbe | 39 | Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved. |
e2f92610 | 40 | |
4746f25a | 41 | Licensed under the Apache License 2.0 (the "License"). You may not use |
e2f92610 RS |
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>. | |
45 | ||
46 | =cut |