gtpc1m60 | Transmission Control Protocol/Internet Protocol |
The SSL_load_and_set_client_CA_list function loads certificates from a specific file and places the issuer name of each certificate in a specific Secure Sockets Layer (SSL) structure. Each certificate is for a certificate authority (CA) that the server application trusts and is willing to accept as the CA that issued the certificate of the remote client.
Format
#include <openssl/ssl.h> int SSL_load_and_set_client_CA_list(SSL *ssl, const char *file)
Normal Return
Return code 1 indicates that the function was successful.
Error Return
If unsuccessful, the SSL_load_and_set_client_CA_list function returns NULL. The following are the most likely causes of errors:
Programming Considerations
Examples
For sample SSL applications, go to http://www.ibm.com/tpf/pubs/tpfpubs.htm, click SSL for the TPF 4.1 System: An Online User's Guide, and click Examples from the left navigation bar.
Related Information