fd3f81c5f60e45b7c212fa70b42e5caebe521c2c
[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 =cut