Set the list of CA names sent to the peer for an SSL context (takes ownership).
Declared in <openssl/ssl.h>
void
SSL_CTX_set0_CA_list(
SSL_CTX* ctx,
stack_st_X509_NAME* name_list);
| Name | Description |
|---|---|
| ctx | SSL context whose certificate_authorities / CA list is replaced. |
| name_list | Stack of X509_NAME subjects; ownership transfers to ctx (do not free). |