RAND_cleanup.3ssl - Man Page

erase the PRNG state

Synopsis

 #include <openssl/rand.h>

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

Description

Prior to OpenSSL 1.1.0, RAND_cleanup() released all resources used by the PRNG.  As of version 1.1.0, it does nothing and should not be called, since no explicit initialisation or de-initialisation is necessary. See OPENSSL_init_crypto(3).

Return Values

RAND_cleanup() returns no value.

See Also

RAND(7)

History

RAND_cleanup() was deprecated in OpenSSL 1.1.0; do not use it. See OPENSSL_init_crypto(3)

Info

2024-01-25 1.1.1q OpenSSL