Files
openssl/doc/crypto/RAND_cleanup.pod
Matt Caswell f3cd81d653 Deprecate RAND_cleanup() and make it a no-op
RAND_cleanup() should not be called expicitly - we should leave
auto-deinit to clean this up instead.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-13 08:52:33 +01:00

34 lines
581 B
Plaintext

=pod
=head1 NAME
RAND_cleanup - erase the PRNG state
=head1 SYNOPSIS
#include <openssl/rand.h>
#if OPENSSL_API_COMPAT < 0x10100000L
# define RAND_cleanup()
#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