2640c7d2c7313cc44d7a9c7dbd696668f29c59a4
[openssl.git] / doc / crypto / RAND_cleanup.pod
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
11  #if OPENSSL_API_COMPAT < 0x10100000L
12  void RAND_cleanup(void)
13  #endif
14
15 =head1 DESCRIPTION
16
17 Prior to OpenSSL 1.1.0 RAND_cleanup() erases the memory used by the PRNG. This
18 function is deprecated and as of version 1.1.0 does nothing. No explicit
19 initialisation or de-initialisation is necessary. See L<OPENSSL_init_crypto(3)>.
20
21 =head1 RETURN VALUE
22
23 RAND_cleanup() returns no value.
24
25 =head1 SEE ALSO
26
27 L<rand(3)>
28
29 =head1 HISTORY
30
31 RAND_cleanup() was deprecated in OpenSSL 1.1.0.
32
33 =head1 COPYRIGHT
34
35 Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
36
37 Licensed under the OpenSSL license (the "License").  You may not use
38 this file except in compliance with the License.  You can obtain a copy
39 in the file LICENSE in the source distribution or at
40 L<https://www.openssl.org/source/license.html>.
41
42 =cut