libressl-SSL_dup_CA_list(3)

libressl-SSL_dup_CA_list3

Deep copy of a stack of x.509 name objects

Usage

SSL Library (libssl, -lssl) libcrypto

#include <openssl/ssl.h>

STACK_OF(X509_NAME) *

SSL_dup_CA_list(const STACK_OF(X509_NAME) *sk);

Overview

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.

Return values

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

History

SSL_dup_CA_list() first appeared in SSLeay 0.8.0 and has been available since OpenBSD 2.4.

From libressl 4.4.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.