Load CA certs from a file into a STACK. Note that it is somewhat misnamed; it doesn't really have anything to do with clients (except that a common use for a stack of CAs is to send it to the client). Actually, it doesn't have much to do with CAs, either, since it will load any old cert.
|file||the file containing one or more certs. |
- a STACK containing the certs.
Definition at line 557 of file ssl_cert.c.
Referenced by SSL_CTX_set_cipher_list(), SSL_CTX_set_ssl_version(), SSL_get_cipher_list(), and SSL_set_cipher_list().
for (i=0; i<sk_X509_NAME_num(sk); i++)
if ((name == NULL) || !sk_X509_NAME_push(ret,name))