[#SSL_client_hello_get0_random]
= SSL&lowbar;client&lowbar;hello&lowbar;get0&lowbar;random
:mrdocs:

Return the ClientHello Random field from a client&hyphen;hello callback context&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
size&lowbar;t
SSL&lowbar;client&lowbar;hello&lowbar;get0&lowbar;random(
    xref:SSL.adoc[SSL]* s,
    unsigned char const** out);
----

== Return Value

Number of random bytes, or 0 if unavailable&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| SSL object during a client&hyphen;hello callback&period;
| *out*
| Receives a pointer to the random bytes (typically 32 bytes)&semi; do not free&period;
|===


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