Append a CA subject name from a certificate to an SSL context's peer CA list.
Synopsis
Declared in <openssl/ssl.h>
int
SSL_CTX_add1_to_CA_list(
SSL_CTX* ctx,
X509 const* x);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
ctx |
SSL context whose CA list is updated. |
x |
Certificate whose subject name is duplicated onto the list. |
Created with MrDocs