Lines Matching refs:cdir
89 char *s = NULL, *path, *cdir, *tmp; in get_saved_pem() local
116 cdir = get_Cert_dir(NULL, &tmp); in get_saved_pem()
117 if (! cdir || ! tmp) { in get_saved_pem()
122 len = strlen(cdir) + strlen("/server.pem") + strlen(s) + 1; in get_saved_pem()
125 sprintf(path, "%s/server%s.pem", cdir, s); in get_saved_pem()
548 char *p, *str, *cdir, *tmp; in get_ssl_verify_file() local
564 cdir = get_Cert_dir(NULL, &tmp); in get_ssl_verify_file()
565 if (! cdir || ! tmp) { in get_ssl_verify_file()
596 sprintf(tfile2, "%s/CA/cacert.pem", cdir); in get_ssl_verify_file()
608 sprintf(tfile2, "%s/clients", cdir); in get_ssl_verify_file()
627 sprintf(tfile2, "%s/clients/%s", cdir, n); in get_ssl_verify_file()
643 sprintf(tfile2, "%s/clients/%s.crt", cdir, p); in get_ssl_verify_file()
645 sprintf(tfile2, "%s/clients/%s", cdir, p); in get_ssl_verify_file()