[#SSL_client_hello_get0_ciphers]
= SSL&lowbar;client&lowbar;hello&lowbar;get0&lowbar;ciphers
:mrdocs:

Return the cipher&lowbar;suites field from the ClientHello being processed&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;ciphers(
    xref:SSL.adoc[SSL]* s,
    unsigned char const** out);
----

== Return Value

Length of the cipher&lowbar;suites field in bytes, or 0 if unavailable&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| Server SSL connection inside a ClientHello callback (or with a parsed ClientHello)&period;
| *out*
| If non&hyphen;NULL, set to point at the cipher suite list octets (do not free)&period;
|===


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