• Home
  • Raw
  • Download

Lines Matching refs:args

128 	char **args;  in MAIN()  local
176 args = argv + 1; in MAIN()
179 while (!badarg && *args && *args[0] == '-') in MAIN()
181 if (!strcmp(*args, "-out")) in MAIN()
183 if (args[1]) in MAIN()
185 args++; in MAIN()
186 outfile = *args; in MAIN()
190 else if (!strcmp(*args, "-timeout")) in MAIN()
192 if (args[1]) in MAIN()
194 args++; in MAIN()
195 req_timeout = atol(*args); in MAIN()
200 *args); in MAIN()
206 else if (!strcmp(*args, "-url")) in MAIN()
214 if (args[1]) in MAIN()
216 args++; in MAIN()
217 if (!OCSP_parse_url(*args, &host, &port, &path, &use_ssl)) in MAIN()
228 else if (!strcmp(*args, "-host")) in MAIN()
230 if (args[1]) in MAIN()
232 args++; in MAIN()
233 host = *args; in MAIN()
237 else if (!strcmp(*args, "-port")) in MAIN()
239 if (args[1]) in MAIN()
241 args++; in MAIN()
242 port = *args; in MAIN()
246 else if (!strcmp(*args, "-header")) in MAIN()
248 if (args[1] && args[2]) in MAIN()
250 if (!X509V3_add_value(args[1], args[2], &headers)) in MAIN()
252 args += 2; in MAIN()
256 else if (!strcmp(*args, "-ignore_err")) in MAIN()
258 else if (!strcmp(*args, "-noverify")) in MAIN()
260 else if (!strcmp(*args, "-nonce")) in MAIN()
262 else if (!strcmp(*args, "-no_nonce")) in MAIN()
264 else if (!strcmp(*args, "-resp_no_certs")) in MAIN()
266 else if (!strcmp(*args, "-resp_key_id")) in MAIN()
268 else if (!strcmp(*args, "-no_certs")) in MAIN()
270 else if (!strcmp(*args, "-no_signature_verify")) in MAIN()
272 else if (!strcmp(*args, "-no_cert_verify")) in MAIN()
274 else if (!strcmp(*args, "-no_chain")) in MAIN()
276 else if (!strcmp(*args, "-no_cert_checks")) in MAIN()
278 else if (!strcmp(*args, "-no_explicit")) in MAIN()
280 else if (!strcmp(*args, "-trust_other")) in MAIN()
282 else if (!strcmp(*args, "-no_intern")) in MAIN()
284 else if (!strcmp(*args, "-text")) in MAIN()
289 else if (!strcmp(*args, "-req_text")) in MAIN()
291 else if (!strcmp(*args, "-resp_text")) in MAIN()
293 else if (!strcmp(*args, "-reqin")) in MAIN()
295 if (args[1]) in MAIN()
297 args++; in MAIN()
298 reqin = *args; in MAIN()
302 else if (!strcmp(*args, "-respin")) in MAIN()
304 if (args[1]) in MAIN()
306 args++; in MAIN()
307 respin = *args; in MAIN()
311 else if (!strcmp(*args, "-signer")) in MAIN()
313 if (args[1]) in MAIN()
315 args++; in MAIN()
316 signfile = *args; in MAIN()
320 else if (!strcmp (*args, "-VAfile")) in MAIN()
322 if (args[1]) in MAIN()
324 args++; in MAIN()
325 verify_certfile = *args; in MAIN()
330 else if (!strcmp(*args, "-sign_other")) in MAIN()
332 if (args[1]) in MAIN()
334 args++; in MAIN()
335 sign_certfile = *args; in MAIN()
339 else if (!strcmp(*args, "-verify_other")) in MAIN()
341 if (args[1]) in MAIN()
343 args++; in MAIN()
344 verify_certfile = *args; in MAIN()
348 else if (!strcmp (*args, "-CAfile")) in MAIN()
350 if (args[1]) in MAIN()
352 args++; in MAIN()
353 CAfile = *args; in MAIN()
357 else if (!strcmp (*args, "-CApath")) in MAIN()
359 if (args[1]) in MAIN()
361 args++; in MAIN()
362 CApath = *args; in MAIN()
366 else if (!strcmp (*args, "-validity_period")) in MAIN()
368 if (args[1]) in MAIN()
370 args++; in MAIN()
371 nsec = atol(*args); in MAIN()
376 *args); in MAIN()
382 else if (!strcmp (*args, "-status_age")) in MAIN()
384 if (args[1]) in MAIN()
386 args++; in MAIN()
387 maxage = atol(*args); in MAIN()
392 *args); in MAIN()
398 else if (!strcmp(*args, "-signkey")) in MAIN()
400 if (args[1]) in MAIN()
402 args++; in MAIN()
403 keyfile = *args; in MAIN()
407 else if (!strcmp(*args, "-reqout")) in MAIN()
409 if (args[1]) in MAIN()
411 args++; in MAIN()
412 reqout = *args; in MAIN()
416 else if (!strcmp(*args, "-respout")) in MAIN()
418 if (args[1]) in MAIN()
420 args++; in MAIN()
421 respout = *args; in MAIN()
425 else if (!strcmp(*args, "-path")) in MAIN()
427 if (args[1]) in MAIN()
429 args++; in MAIN()
430 path = *args; in MAIN()
434 else if (!strcmp(*args, "-issuer")) in MAIN()
436 if (args[1]) in MAIN()
438 args++; in MAIN()
440 issuer = load_cert(bio_err, *args, FORMAT_PEM, in MAIN()
446 else if (!strcmp (*args, "-cert")) in MAIN()
448 if (args[1]) in MAIN()
450 args++; in MAIN()
452 cert = load_cert(bio_err, *args, FORMAT_PEM, in MAIN()
458 if(!sk_OPENSSL_STRING_push(reqnames, *args)) in MAIN()
463 else if (!strcmp(*args, "-serial")) in MAIN()
465 if (args[1]) in MAIN()
467 args++; in MAIN()
469 if(!add_ocsp_serial(&req, *args, cert_id_md, issuer, ids)) in MAIN()
471 if(!sk_OPENSSL_STRING_push(reqnames, *args)) in MAIN()
476 else if (!strcmp(*args, "-index")) in MAIN()
478 if (args[1]) in MAIN()
480 args++; in MAIN()
481 ridx_filename = *args; in MAIN()
485 else if (!strcmp(*args, "-CA")) in MAIN()
487 if (args[1]) in MAIN()
489 args++; in MAIN()
490 rca_filename = *args; in MAIN()
494 else if (!strcmp (*args, "-nmin")) in MAIN()
496 if (args[1]) in MAIN()
498 args++; in MAIN()
499 nmin = atol(*args); in MAIN()
504 *args); in MAIN()
512 else if (!strcmp (*args, "-nrequest")) in MAIN()
514 if (args[1]) in MAIN()
516 args++; in MAIN()
517 accept_count = atol(*args); in MAIN()
522 *args); in MAIN()
528 else if (!strcmp (*args, "-ndays")) in MAIN()
530 if (args[1]) in MAIN()
532 args++; in MAIN()
533 ndays = atol(*args); in MAIN()
538 *args); in MAIN()
544 else if (!strcmp(*args, "-rsigner")) in MAIN()
546 if (args[1]) in MAIN()
548 args++; in MAIN()
549 rsignfile = *args; in MAIN()
553 else if (!strcmp(*args, "-rkey")) in MAIN()
555 if (args[1]) in MAIN()
557 args++; in MAIN()
558 rkeyfile = *args; in MAIN()
562 else if (!strcmp(*args, "-rother")) in MAIN()
564 if (args[1]) in MAIN()
566 args++; in MAIN()
567 rcertfile = *args; in MAIN()
571 else if ((cert_id_md = EVP_get_digestbyname((*args)+1))==NULL) in MAIN()
575 args++; in MAIN()