2000-01-22 01:50:27 +08:00
|
|
|
=pod
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
RAND_cleanup - erase the PRNG state
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
#include <openssl/rand.h>
|
|
|
|
|
2016-04-06 18:19:55 +08:00
|
|
|
#if OPENSSL_API_COMPAT < 0x10100000L
|
2016-04-06 18:13:25 +08:00
|
|
|
void RAND_cleanup(void)
|
2016-04-06 18:19:55 +08:00
|
|
|
#endif
|
2000-01-22 01:50:27 +08:00
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2016-04-06 18:19:55 +08:00
|
|
|
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)>.
|
2000-01-22 01:50:27 +08:00
|
|
|
|
|
|
|
=head1 RETURN VALUE
|
|
|
|
|
|
|
|
RAND_cleanup() returns no value.
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2015-08-18 03:21:33 +08:00
|
|
|
L<rand(3)>
|
2000-01-22 01:50:27 +08:00
|
|
|
|
2016-04-06 18:19:55 +08:00
|
|
|
=head1 HISTORY
|
|
|
|
|
|
|
|
RAND_cleanup() was deprecated in OpenSSL 1.1.0.
|
|
|
|
|
2000-01-22 01:50:27 +08:00
|
|
|
=cut
|