aboutsummaryrefslogtreecommitdiff
path: root/doc/crypto/RAND_cleanup.pod
blob: fd3f81c5f60e45b7c212fa70b42e5caebe521c2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
=pod

=head1 NAME

RAND_cleanup - erase the PRNG state

=head1 SYNOPSIS

 #include <openssl/rand.h>

 #if OPENSSL_API_COMPAT < 0x10100000L
 void RAND_cleanup(void)
 #endif

=head1 DESCRIPTION

Prior to OpenSSL 1.1.0 RAND_cleanup() erases the memory used by the PRNG. This
function is deprecated and as of version 1.1.0 does nothing. No explicit
initialisation or de-initialisation is necessary. See L<OPENSSL_init_crypto(3)>.

=head1 RETURN VALUE

RAND_cleanup() returns no value.

=head1 SEE ALSO

L<rand(3)>

=head1 HISTORY

RAND_cleanup() was deprecated in OpenSSL 1.1.0.

=cut