[#SSL_CTX_set_cipher_list] = SSL_CTX_set_cipher_list :mrdocs: Set the TLSv1.2‐and‐below cipher list for an SSL context. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_CTX_set_cipher_list( xref:SSL_CTX.adoc[SSL_CTX]* ctx, char const* str); ---- == Return Value 1 if at least one cipher could be selected, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | SSL context whose new connections inherit the cipher list. | *str* | Colon‐separated cipher list in openssl‐ciphers(1) format. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#