Lines Matching refs:queryfile
50 const char *queryfile, const char *passin, const char *inkey,
56 const char *queryfile, const char *passin,
64 static int verify_command(const char *data, const char *digest, const char *queryfile,
69 const char *queryfile,
104 {"queryfile", OPT_QUERYFILE, '<', "File containing a TS query"},
133 " [-queryfile file] [-passin password]",
145 " [-queryfile file] -in file [-token_in]",
159 char *in = NULL, *out = NULL, *queryfile = NULL, *passin = NULL;
236 queryfile = opt_arg();
298 if ((in != NULL) && (queryfile != NULL))
304 ret = !reply_command(conf, section, engine, queryfile,
309 if ((in == NULL) || !EXACTLY_ONE(queryfile, data, digest))
311 ret = !verify_command(data, digest, queryfile, in, token_in,
557 const char *queryfile, const char *passin, const char *inkey,
579 response = create_response(conf, section, engine, queryfile,
665 const char *queryfile, const char *passin,
674 if ((query_bio = BIO_new_file(queryfile, "rb")) == NULL)
818 static int verify_command(const char *data, const char *digest, const char *queryfile,
839 if ((verify_ctx = create_verify_ctx(data, digest, queryfile,
865 const char *queryfile,
900 } else if (queryfile != NULL) {
901 if ((input = BIO_new_file(queryfile, "rb")) == NULL)