Lines Matching defs:path
55 char *path;
63 char *path;
126 free(ocsp->path);
154 free((*ctx)->crls.val[i].path);
335 ret = rk_undumpdata(ocsp->path, &data, &length);
339 ret = stat(ocsp->path, &sb);
393 * @param path path to file that is going to be added to the context.
403 const char *path)
409 if (strncmp(path, "FILE:", 5) != 0) {
411 "unsupport type in %s", path);
415 path += 5;
418 if (strcmp(ctx->ocsps.val[0].path, path) == 0)
434 ctx->ocsps.val[ctx->ocsps.len].path = strdup(path);
435 if (ctx->ocsps.val[ctx->ocsps.len].path == NULL) {
442 free(ctx->ocsps.val[ctx->ocsps.len].path);
564 load_crl(const char *path, time_t *t, CRLCertificateList *crl)
573 ret = rk_undumpdata(path, &data, &length);
577 ret = stat(path, &sb);
601 * @param path path to file that is going to be added to the context.
611 const char *path)
617 if (strncmp(path, "FILE:", 5) != 0) {
619 "unsupport type in %s", path);
624 path += 5;
627 if (strcmp(ctx->crls.val[0].path, path) == 0)
641 ctx->crls.val[ctx->crls.len].path = strdup(path);
642 if (ctx->crls.val[ctx->crls.len].path == NULL) {
647 ret = load_crl(path,
651 free(ctx->crls.val[ctx->crls.len].path);
700 ret = stat(ocsp->path, &sb);
780 ret = stat(crl->path, &sb);
784 ret = load_crl(crl->path, &crl->last_modfied, &cl);
1071 * @param path path to a file with a OCSP reply
1080 hx509_revoke_ocsp_print(hx509_context context, const char *path, FILE *out)
1091 ocsp.path = strdup(path);
1092 if (ocsp.path == NULL)