Manual Page Search Parameters

SSL_DUP_CA_LIST(3) Library Functions Manual SSL_DUP_CA_LIST(3)

deep copy of a stack of X.509 Name objects

SSL_dup_CA_list(const STACK_OF(X509_NAME) *sk);

SSL_dup_CA_list() constructs a new STACK_OF(X509_NAME) object and places copies of all the X509_NAME objects found on sk on it.

SSL_dup_CA_list() returns the new STACK_OF(X509_NAME) or NULL on failure.

SSL_CTX_set_client_CA_list(3), SSL_get_client_CA_list(3), SSL_load_client_CA_file(3), X509_NAME_new(3)

SSL_dup_CA_list() first appeared in SSLeay 0.8.0 and has been available since OpenBSD 2.4.
April 25, 2018 OpenBSD-current