[#RAND_get_rand_method] = RAND_get_rand_method :mrdocs: Return the currently selected legacy RAND_METHOD used for PRNG operations. == Synopsis Declared in `<openssl/rand.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:RAND_METHOD.adoc[RAND_METHOD] const* RAND_get_rand_method(); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[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). [.small]#Created with https://www.mrdocs.com[MrDocs]#