]>
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 | ||
f3cd81d6 | 11 | #if OPENSSL_API_COMPAT < 0x10100000L |
1d5099de | 12 | void RAND_cleanup(void) |
f3cd81d6 | 13 | #endif |
60b52453 | 14 | |
02eca5c6 RS |
15 | =head1 DESCRIPTION |
16 | ||
04256277 RS |
17 | Prior to OpenSSL 1.1.0, RAND_cleanup() released all resources used by |
18 | the PRNG. As of version 1.1.0, it does nothing and should not be called, | |
a970b14f | 19 | since no explicit initialisation or de-initialisation is necessary. See |
04256277 | 20 | L<OPENSSL_init_crypto(3)>. |
60b52453 | 21 | |
1f13ad31 | 22 | =head1 RETURN VALUES |
60b52453 UM |
23 | |
24 | RAND_cleanup() returns no value. | |
25 | ||
f3cd81d6 MC |
26 | =head1 HISTORY |
27 | ||
b3696a55 RS |
28 | RAND_cleanup() was deprecated in OpenSSL 1.1.0; do not use it. |
29 | See L<OPENSSL_init_crypto(3)> | |
f3cd81d6 | 30 | |
a73d990e DMSP |
31 | =head1 SEE ALSO |
32 | ||
33 | L<RAND(7)> | |
34 | ||
e2f92610 RS |
35 | =head1 COPYRIGHT |
36 | ||
61f805c1 | 37 | Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved. |
e2f92610 RS |
38 | |
39 | Licensed under the OpenSSL license (the "License"). You may not use | |
40 | this file except in compliance with the License. You can obtain a copy | |
41 | in the file LICENSE in the source distribution or at | |
42 | L<https://www.openssl.org/source/license.html>. | |
43 | ||
44 | =cut |