[#RAND_set_rand_method] = RAND_set_rand_method :mrdocs: Install the legacy RAND_METHOD used by RAND_bytes and related APIs (deprecated). == Synopsis Declared in `<openssl/rand.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int RAND_set_rand_method(xref:RAND_METHOD.adoc[RAND_METHOD] const* meth); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *meth* | Method table to make current, or NULL to clear. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#