[#SSL_get1_supported_ciphers]
= SSL&lowbar;get1&lowbar;supported&lowbar;ciphers
:mrdocs:

Return the preference&hyphen;ordered stack of enabled ciphers that would be sent in a ClientHello&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:stack_st_SSL_CIPHER.adoc[stack&lowbar;st&lowbar;SSL&lowbar;CIPHER]*
SSL&lowbar;get1&lowbar;supported&lowbar;ciphers(xref:SSL.adoc[SSL]* s);
----

== Return Value

Newly allocated stack of SSL&lowbar;CIPHER objects (free with sk&lowbar;SSL&lowbar;CIPHER&lowbar;free), or NULL if `s` is NULL &sol; none available&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| SSL connection to query&semi; list depends on cipher list, protocol versions, security level, and signature algorithms&period;
|===


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