SSL_CTX_set0_CA_list

Set the list of CA names sent to the peer for an SSL context (takes ownership).

Synopsis

Declared in <openssl/ssl.h>

void
SSL_CTX_set0_CA_list(
    SSL_CTX* ctx,
    stack_st_X509_NAME* name_list);

Parameters

NameDescription
ctxSSL context whose certificate_authorities / CA list is replaced.
name_listStack of X509_NAME subjects; ownership transfers to ctx (do not free).