[#EVP_RAND_CTX_get0_rand]
= EVP&lowbar;RAND&lowbar;CTX&lowbar;get0&lowbar;rand
:mrdocs:

Return the EVP&lowbar;RAND algorithm associated with RAND context `ctx&period;`

== Synopsis

Declared in `&lt;openssl&sol;evp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:EVP_RAND.adoc[EVP&lowbar;RAND]*
EVP&lowbar;RAND&lowbar;CTX&lowbar;get0&lowbar;rand(xref:EVP_RAND_CTX.adoc[EVP&lowbar;RAND&lowbar;CTX]* ctx);
----

== Return Value

Borrowed EVP&lowbar;RAND pointer (do not free), or NULL if unset&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| RAND context&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
