Return the currently selected legacy RAND_METHOD used for PRNG operations.

Synopsis

Declared in <openssl/rand.h>

[[deprecated]]
RAND_METHOD const*
RAND_get_rand_method();
Warning

Deprecated. Use of this entity is allowed but discouraged.

Description

Deprecated in OpenSSL 3.0; prefer RAND_set_DRBG_type() and EVP_RAND.

Return Value

Pointer to the active RAND_METHOD (not to be freed).

Created with MrDocs