Lines Matching refs:CAfile
39 static int x509_certify(X509_STORE *ctx, const char *CAfile, const EVP_MD *digest,
116 "The CA key, must be PEM format; if not in CAfile"},
170 char *infile = NULL, *outfile = NULL, *keyfile = NULL, *CAfile = NULL;
267 CAfile = opt_arg();
487 CAkeyfile = CAfile;
590 xca = load_cert(CAfile, CAformat, "CA Certificate");
813 if (!x509_certify(ctx, CAfile, digest, x, xca,
911 static ASN1_INTEGER *x509_load_serial(const char *CAfile,
919 const char *p = strrchr(CAfile, '.');
920 size_t len = p != NULL ? (size_t)(p - CAfile) : strlen(CAfile);
923 memcpy(buf, CAfile, len);
946 static int x509_certify(X509_STORE *ctx, const char *CAfile, const EVP_MD *digest,
972 else if ((bs = x509_load_serial(CAfile, serialfile, create)) == NULL)