Lines Matching refs:root_ca_file
110 static char *root_ca_file = NULL; /* List of trusted Root CAs in PEM */
1330 if (root_ca_file) {
1332 if ((stat(root_ca_file, &stbuf) == 0) && S_ISDIR(stbuf.st_mode)) {
1333 coap_context_set_pki_root_cas(ctx, NULL, root_ca_file);
1335 coap_context_set_pki_root_cas(ctx, root_ca_file, NULL);
1342 if (ca_file || root_ca_file) {
1348 * Note: root_ca_file is setup separately using
1353 dtls_pki.check_common_ca = !root_ca_file;
1446 if (root_ca_file || ca_file || cert_file) {
1632 root_ca_file = optarg;