SSL_CTX_set_ciphersuites

Set the TLSv1.3 ciphersuite list for an SSL context.

Synopsis

Declared in <openssl/ssl.h>

int
SSL_CTX_set_ciphersuites(
    SSL_CTX* ctx,
    char const* str);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
ctxSSL context to configure.
strColon-separated list of TLSv1.3 ciphersuite names.