|
Packit Service |
4684c1 |
/* -*- buffer-read-only: t -*- vi: set ro:
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* DO NOT EDIT THIS FILE (ocsptool-args.c)
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* It has been AutoGen-ed
|
|
Packit Service |
4684c1 |
* From the definitions ocsptool-args.def
|
|
Packit Service |
4684c1 |
* and the template file options
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* Generated from AutoOpts 42:1:17 templates.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* AutoOpts is a copyrighted work. This source file is not encumbered
|
|
Packit Service |
4684c1 |
* by AutoOpts licensing, but is provided under the licensing terms chosen
|
|
Packit Service |
4684c1 |
* by the ocsptool author or copyright holder. AutoOpts is
|
|
Packit Service |
4684c1 |
* licensed under the terms of the LGPL. The redistributable library
|
|
Packit Service |
4684c1 |
* (``libopts'') is licensed under the terms of either the LGPL or, at the
|
|
Packit Service |
4684c1 |
* users discretion, the BSD license. See the AutoOpts and/or libopts sources
|
|
Packit Service |
4684c1 |
* for details.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* The ocsptool program is copyrighted and licensed
|
|
Packit Service |
4684c1 |
* under the following terms:
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* Copyright (C) 2000-2020 Free Software Foundation, and others, all rights reserved.
|
|
Packit Service |
4684c1 |
* This is free software. It is licensed for use, modification and
|
|
Packit Service |
4684c1 |
* redistribution under the terms of the GNU General Public License,
|
|
Packit Service |
4684c1 |
* version 3 or later <http://gnu.org/licenses/gpl.html>
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* ocsptool is free software: you can redistribute it and/or modify it
|
|
Packit Service |
4684c1 |
* under the terms of the GNU General Public License as published by the
|
|
Packit Service |
4684c1 |
* Free Software Foundation, either version 3 of the License, or
|
|
Packit Service |
4684c1 |
* (at your option) any later version.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* ocsptool is distributed in the hope that it will be useful, but
|
|
Packit Service |
4684c1 |
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
4684c1 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
Packit Service |
4684c1 |
* See the GNU General Public License for more details.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* You should have received a copy of the GNU General Public License along
|
|
Packit Service |
4684c1 |
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#ifndef __doxygen__
|
|
Packit Service |
4684c1 |
#define OPTION_CODE_COMPILE 1
|
|
Packit Service |
4684c1 |
#include "ocsptool-args.h"
|
|
Packit Service |
4684c1 |
#include <sys/types.h>
|
|
Packit Service |
4684c1 |
#include <sys/stat.h>
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#include <errno.h>
|
|
Packit Service |
4684c1 |
#include <fcntl.h>
|
|
Packit Service |
4684c1 |
#include <limits.h>
|
|
Packit Service |
4684c1 |
#include <stdio.h>
|
|
Packit Service |
4684c1 |
#include <stdlib.h>
|
|
Packit Service |
4684c1 |
#include <string.h>
|
|
Packit Service |
4684c1 |
#include <unistd.h>
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#ifdef __cplusplus
|
|
Packit Service |
4684c1 |
extern "C" {
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
extern FILE * option_usage_fp;
|
|
Packit Service |
4684c1 |
#define zCopyright (ocsptool_opt_strs+0)
|
|
Packit Service |
4684c1 |
#define zLicenseDescrip (ocsptool_opt_strs+284)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#ifndef NULL
|
|
Packit Service |
4684c1 |
# define NULL 0
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* static const strings for ocsptool options
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static char const ocsptool_opt_strs[2760] =
|
|
Packit Service |
4684c1 |
/* 0 */ "ocsptool 3.6.14\n"
|
|
Packit Service |
4684c1 |
"Copyright (C) 2000-2020 Free Software Foundation, and others, all rights reserved.\n"
|
|
Packit Service |
4684c1 |
"This is free software. It is licensed for use, modification and\n"
|
|
Packit Service |
4684c1 |
"redistribution under the terms of the GNU General Public License,\n"
|
|
Packit Service |
4684c1 |
"version 3 or later <http://gnu.org/licenses/gpl.html>\n\0"
|
|
Packit Service |
4684c1 |
/* 284 */ "ocsptool is free software: you can redistribute it and/or modify it under\n"
|
|
Packit Service |
4684c1 |
"the terms of the GNU General Public License as published by the Free\n"
|
|
Packit Service |
4684c1 |
"Software Foundation, either version 3 of the License, or (at your option)\n"
|
|
Packit Service |
4684c1 |
"any later version.\n\n"
|
|
Packit Service |
4684c1 |
"ocsptool is distributed in the hope that it will be useful, but WITHOUT ANY\n"
|
|
Packit Service |
4684c1 |
"WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n"
|
|
Packit Service |
4684c1 |
"FOR A PARTICULAR PURPOSE. See the GNU General Public License for more\n"
|
|
Packit Service |
4684c1 |
"details.\n\n"
|
|
Packit Service |
4684c1 |
"You should have received a copy of the GNU General Public License along\n"
|
|
Packit Service |
4684c1 |
"with this program. If not, see <http://www.gnu.org/licenses/>.\n\0"
|
|
Packit Service |
4684c1 |
/* 889 */ "Enable debugging\0"
|
|
Packit Service |
4684c1 |
/* 906 */ "DEBUG\0"
|
|
Packit Service |
4684c1 |
/* 912 */ "debug\0"
|
|
Packit Service |
4684c1 |
/* 918 */ "More verbose output\0"
|
|
Packit Service |
4684c1 |
/* 938 */ "VERBOSE\0"
|
|
Packit Service |
4684c1 |
/* 946 */ "verbose\0"
|
|
Packit Service |
4684c1 |
/* 954 */ "Input file\0"
|
|
Packit Service |
4684c1 |
/* 965 */ "INFILE\0"
|
|
Packit Service |
4684c1 |
/* 972 */ "infile\0"
|
|
Packit Service |
4684c1 |
/* 979 */ "Output file\0"
|
|
Packit Service |
4684c1 |
/* 991 */ "OUTFILE\0"
|
|
Packit Service |
4684c1 |
/* 999 */ "outfile\0"
|
|
Packit Service |
4684c1 |
/* 1007 */ "Ask an OCSP/HTTP server on a certificate validity\0"
|
|
Packit Service |
4684c1 |
/* 1057 */ "ASK\0"
|
|
Packit Service |
4684c1 |
/* 1061 */ "ask\0"
|
|
Packit Service |
4684c1 |
/* 1065 */ "Verify response\0"
|
|
Packit Service |
4684c1 |
/* 1081 */ "VERIFY_RESPONSE\0"
|
|
Packit Service |
4684c1 |
/* 1097 */ "verify-response\0"
|
|
Packit Service |
4684c1 |
/* 1113 */ "Print information on a OCSP request\0"
|
|
Packit Service |
4684c1 |
/* 1149 */ "REQUEST_INFO\0"
|
|
Packit Service |
4684c1 |
/* 1162 */ "request-info\0"
|
|
Packit Service |
4684c1 |
/* 1175 */ "Print information on a OCSP response\0"
|
|
Packit Service |
4684c1 |
/* 1212 */ "RESPONSE_INFO\0"
|
|
Packit Service |
4684c1 |
/* 1226 */ "response-info\0"
|
|
Packit Service |
4684c1 |
/* 1240 */ "Generates an OCSP request\0"
|
|
Packit Service |
4684c1 |
/* 1266 */ "GENERATE_REQUEST\0"
|
|
Packit Service |
4684c1 |
/* 1283 */ "generate-request\0"
|
|
Packit Service |
4684c1 |
/* 1300 */ "Use (or not) a nonce to OCSP request\0"
|
|
Packit Service |
4684c1 |
/* 1337 */ "NONCE\0"
|
|
Packit Service |
4684c1 |
/* 1343 */ "no-nonce\0"
|
|
Packit Service |
4684c1 |
/* 1352 */ "no\0"
|
|
Packit Service |
4684c1 |
/* 1355 */ "Reads a set of certificates forming a chain from file\0"
|
|
Packit Service |
4684c1 |
/* 1409 */ "LOAD_CHAIN\0"
|
|
Packit Service |
4684c1 |
/* 1420 */ "load-chain\0"
|
|
Packit Service |
4684c1 |
/* 1431 */ "Reads issuer's certificate from file\0"
|
|
Packit Service |
4684c1 |
/* 1468 */ "LOAD_ISSUER\0"
|
|
Packit Service |
4684c1 |
/* 1480 */ "load-issuer\0"
|
|
Packit Service |
4684c1 |
/* 1492 */ "Reads the certificate to check from file\0"
|
|
Packit Service |
4684c1 |
/* 1533 */ "LOAD_CERT\0"
|
|
Packit Service |
4684c1 |
/* 1543 */ "load-cert\0"
|
|
Packit Service |
4684c1 |
/* 1553 */ "Read OCSP trust anchors from file\0"
|
|
Packit Service |
4684c1 |
/* 1587 */ "LOAD_TRUST\0"
|
|
Packit Service |
4684c1 |
/* 1598 */ "load-trust\0"
|
|
Packit Service |
4684c1 |
/* 1609 */ "Reads the OCSP response signer from file\0"
|
|
Packit Service |
4684c1 |
/* 1650 */ "LOAD_SIGNER\0"
|
|
Packit Service |
4684c1 |
/* 1662 */ "load-signer\0"
|
|
Packit Service |
4684c1 |
/* 1674 */ "Use DER format for input certificates and private keys\0"
|
|
Packit Service |
4684c1 |
/* 1729 */ "INDER\0"
|
|
Packit Service |
4684c1 |
/* 1735 */ "no-inder\0"
|
|
Packit Service |
4684c1 |
/* 1744 */ "Use DER format for output of responses (this is the default)\0"
|
|
Packit Service |
4684c1 |
/* 1805 */ "OUTDER\0"
|
|
Packit Service |
4684c1 |
/* 1812 */ "outder\0"
|
|
Packit Service |
4684c1 |
/* 1819 */ "Use PEM format for output of responses\0"
|
|
Packit Service |
4684c1 |
/* 1858 */ "OUTPEM\0"
|
|
Packit Service |
4684c1 |
/* 1865 */ "outpem\0"
|
|
Packit Service |
4684c1 |
/* 1872 */ "Reads the DER encoded OCSP request from file\0"
|
|
Packit Service |
4684c1 |
/* 1917 */ "LOAD_REQUEST\0"
|
|
Packit Service |
4684c1 |
/* 1930 */ "load-request\0"
|
|
Packit Service |
4684c1 |
/* 1943 */ "Reads the DER encoded OCSP response from file\0"
|
|
Packit Service |
4684c1 |
/* 1989 */ "LOAD_RESPONSE\0"
|
|
Packit Service |
4684c1 |
/* 2003 */ "load-response\0"
|
|
Packit Service |
4684c1 |
/* 2017 */ "Ignore any verification errors\0"
|
|
Packit Service |
4684c1 |
/* 2048 */ "IGNORE_ERRORS\0"
|
|
Packit Service |
4684c1 |
/* 2062 */ "ignore-errors\0"
|
|
Packit Service |
4684c1 |
/* 2076 */ "Allow broken algorithms, such as MD5 for verification\0"
|
|
Packit Service |
4684c1 |
/* 2130 */ "VERIFY_ALLOW_BROKEN\0"
|
|
Packit Service |
4684c1 |
/* 2150 */ "verify-allow-broken\0"
|
|
Packit Service |
4684c1 |
/* 2170 */ "display extended usage information and exit\0"
|
|
Packit Service |
4684c1 |
/* 2214 */ "help\0"
|
|
Packit Service |
4684c1 |
/* 2219 */ "extended usage information passed thru pager\0"
|
|
Packit Service |
4684c1 |
/* 2264 */ "more-help\0"
|
|
Packit Service |
4684c1 |
/* 2274 */ "output version information and exit\0"
|
|
Packit Service |
4684c1 |
/* 2310 */ "version\0"
|
|
Packit Service |
4684c1 |
/* 2318 */ "OCSPTOOL\0"
|
|
Packit Service |
4684c1 |
/* 2327 */ "ocsptool - GnuTLS OCSP tool\n"
|
|
Packit Service |
4684c1 |
"Usage: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n\0"
|
|
Packit Service |
4684c1 |
/* 2413 */ "bugs@gnutls.org\0"
|
|
Packit Service |
4684c1 |
/* 2429 */ "\n\0"
|
|
Packit Service |
4684c1 |
/* 2431 */ "ocsptool is a program that can parse and print information about OCSP\n"
|
|
Packit Service |
4684c1 |
"requests/responses, generate requests and verify responses. Unlike other\n"
|
|
Packit Service |
4684c1 |
"GnuTLS applications it outputs DER encoded structures by default unless the\n"
|
|
Packit Service |
4684c1 |
"'--outpem' option is specified.\n\0"
|
|
Packit Service |
4684c1 |
/* 2684 */ "ocsptool 3.6.14\0"
|
|
Packit Service |
4684c1 |
/* 2700 */ "ocsptool [options]\n"
|
|
Packit Service |
4684c1 |
"ocsptool --help for usage instructions.\n";
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* debug option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the debug option */
|
|
Packit Service |
4684c1 |
#define DEBUG_DESC (ocsptool_opt_strs+889)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the debug option */
|
|
Packit Service |
4684c1 |
#define DEBUG_NAME (ocsptool_opt_strs+906)
|
|
Packit Service |
4684c1 |
/** Name string for the debug option */
|
|
Packit Service |
4684c1 |
#define DEBUG_name (ocsptool_opt_strs+912)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the debug option */
|
|
Packit Service |
4684c1 |
#define DEBUG_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_NUMERIC))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* verbose option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the verbose option */
|
|
Packit Service |
4684c1 |
#define VERBOSE_DESC (ocsptool_opt_strs+918)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the verbose option */
|
|
Packit Service |
4684c1 |
#define VERBOSE_NAME (ocsptool_opt_strs+938)
|
|
Packit Service |
4684c1 |
/** Name string for the verbose option */
|
|
Packit Service |
4684c1 |
#define VERBOSE_name (ocsptool_opt_strs+946)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the verbose option */
|
|
Packit Service |
4684c1 |
#define VERBOSE_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* infile option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the infile option */
|
|
Packit Service |
4684c1 |
#define INFILE_DESC (ocsptool_opt_strs+954)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the infile option */
|
|
Packit Service |
4684c1 |
#define INFILE_NAME (ocsptool_opt_strs+965)
|
|
Packit Service |
4684c1 |
/** Name string for the infile option */
|
|
Packit Service |
4684c1 |
#define INFILE_name (ocsptool_opt_strs+972)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the infile option */
|
|
Packit Service |
4684c1 |
#define INFILE_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* outfile option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the outfile option */
|
|
Packit Service |
4684c1 |
#define OUTFILE_DESC (ocsptool_opt_strs+979)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the outfile option */
|
|
Packit Service |
4684c1 |
#define OUTFILE_NAME (ocsptool_opt_strs+991)
|
|
Packit Service |
4684c1 |
/** Name string for the outfile option */
|
|
Packit Service |
4684c1 |
#define OUTFILE_name (ocsptool_opt_strs+999)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the outfile option */
|
|
Packit Service |
4684c1 |
#define OUTFILE_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* ask option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the ask option */
|
|
Packit Service |
4684c1 |
#define ASK_DESC (ocsptool_opt_strs+1007)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the ask option */
|
|
Packit Service |
4684c1 |
#define ASK_NAME (ocsptool_opt_strs+1057)
|
|
Packit Service |
4684c1 |
/** Name string for the ask option */
|
|
Packit Service |
4684c1 |
#define ASK_name (ocsptool_opt_strs+1061)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the ask option */
|
|
Packit Service |
4684c1 |
#define ASK_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING) | OPTST_ARG_OPTIONAL)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* verify-response option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the verify-response option */
|
|
Packit Service |
4684c1 |
#define VERIFY_RESPONSE_DESC (ocsptool_opt_strs+1065)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the verify-response option */
|
|
Packit Service |
4684c1 |
#define VERIFY_RESPONSE_NAME (ocsptool_opt_strs+1081)
|
|
Packit Service |
4684c1 |
/** Name string for the verify-response option */
|
|
Packit Service |
4684c1 |
#define VERIFY_RESPONSE_name (ocsptool_opt_strs+1097)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the verify-response option */
|
|
Packit Service |
4684c1 |
#define VERIFY_RESPONSE_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* request-info option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the request-info option */
|
|
Packit Service |
4684c1 |
#define REQUEST_INFO_DESC (ocsptool_opt_strs+1113)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the request-info option */
|
|
Packit Service |
4684c1 |
#define REQUEST_INFO_NAME (ocsptool_opt_strs+1149)
|
|
Packit Service |
4684c1 |
/** Name string for the request-info option */
|
|
Packit Service |
4684c1 |
#define REQUEST_INFO_name (ocsptool_opt_strs+1162)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the request-info option */
|
|
Packit Service |
4684c1 |
#define REQUEST_INFO_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* response-info option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the response-info option */
|
|
Packit Service |
4684c1 |
#define RESPONSE_INFO_DESC (ocsptool_opt_strs+1175)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the response-info option */
|
|
Packit Service |
4684c1 |
#define RESPONSE_INFO_NAME (ocsptool_opt_strs+1212)
|
|
Packit Service |
4684c1 |
/** Name string for the response-info option */
|
|
Packit Service |
4684c1 |
#define RESPONSE_INFO_name (ocsptool_opt_strs+1226)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the response-info option */
|
|
Packit Service |
4684c1 |
#define RESPONSE_INFO_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* generate-request option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the generate-request option */
|
|
Packit Service |
4684c1 |
#define GENERATE_REQUEST_DESC (ocsptool_opt_strs+1240)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the generate-request option */
|
|
Packit Service |
4684c1 |
#define GENERATE_REQUEST_NAME (ocsptool_opt_strs+1266)
|
|
Packit Service |
4684c1 |
/** Name string for the generate-request option */
|
|
Packit Service |
4684c1 |
#define GENERATE_REQUEST_name (ocsptool_opt_strs+1283)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the generate-request option */
|
|
Packit Service |
4684c1 |
#define GENERATE_REQUEST_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* nonce option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the nonce option */
|
|
Packit Service |
4684c1 |
#define NONCE_DESC (ocsptool_opt_strs+1300)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the nonce option */
|
|
Packit Service |
4684c1 |
#define NONCE_NAME (ocsptool_opt_strs+1337)
|
|
Packit Service |
4684c1 |
/** disablement name for the nonce option */
|
|
Packit Service |
4684c1 |
#define NOT_NONCE_name (ocsptool_opt_strs+1343)
|
|
Packit Service |
4684c1 |
/** disablement prefix for the nonce option */
|
|
Packit Service |
4684c1 |
#define NOT_NONCE_PFX (ocsptool_opt_strs+1352)
|
|
Packit Service |
4684c1 |
/** Name string for the nonce option */
|
|
Packit Service |
4684c1 |
#define NONCE_name (NOT_NONCE_name + 3)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the nonce option */
|
|
Packit Service |
4684c1 |
#define NONCE_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* load-chain option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the load-chain option */
|
|
Packit Service |
4684c1 |
#define LOAD_CHAIN_DESC (ocsptool_opt_strs+1355)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the load-chain option */
|
|
Packit Service |
4684c1 |
#define LOAD_CHAIN_NAME (ocsptool_opt_strs+1409)
|
|
Packit Service |
4684c1 |
/** Name string for the load-chain option */
|
|
Packit Service |
4684c1 |
#define LOAD_CHAIN_name (ocsptool_opt_strs+1420)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the load-chain option */
|
|
Packit Service |
4684c1 |
#define LOAD_CHAIN_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* load-issuer option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the load-issuer option */
|
|
Packit Service |
4684c1 |
#define LOAD_ISSUER_DESC (ocsptool_opt_strs+1431)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the load-issuer option */
|
|
Packit Service |
4684c1 |
#define LOAD_ISSUER_NAME (ocsptool_opt_strs+1468)
|
|
Packit Service |
4684c1 |
/** Name string for the load-issuer option */
|
|
Packit Service |
4684c1 |
#define LOAD_ISSUER_name (ocsptool_opt_strs+1480)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the load-issuer option */
|
|
Packit Service |
4684c1 |
#define LOAD_ISSUER_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* load-cert option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the load-cert option */
|
|
Packit Service |
4684c1 |
#define LOAD_CERT_DESC (ocsptool_opt_strs+1492)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the load-cert option */
|
|
Packit Service |
4684c1 |
#define LOAD_CERT_NAME (ocsptool_opt_strs+1533)
|
|
Packit Service |
4684c1 |
/** Name string for the load-cert option */
|
|
Packit Service |
4684c1 |
#define LOAD_CERT_name (ocsptool_opt_strs+1543)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the load-cert option */
|
|
Packit Service |
4684c1 |
#define LOAD_CERT_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* load-trust option description with
|
|
Packit Service |
4684c1 |
* "Must also have options" and "Incompatible options":
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the load-trust option */
|
|
Packit Service |
4684c1 |
#define LOAD_TRUST_DESC (ocsptool_opt_strs+1553)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the load-trust option */
|
|
Packit Service |
4684c1 |
#define LOAD_TRUST_NAME (ocsptool_opt_strs+1587)
|
|
Packit Service |
4684c1 |
/** Name string for the load-trust option */
|
|
Packit Service |
4684c1 |
#define LOAD_TRUST_name (ocsptool_opt_strs+1598)
|
|
Packit Service |
4684c1 |
/** Other options that appear in conjunction with the load-trust option */
|
|
Packit Service |
4684c1 |
static int const aLoad_TrustCantList[] = {
|
|
Packit Service |
4684c1 |
INDEX_OPT_LOAD_SIGNER, NO_EQUIVALENT };
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the load-trust option */
|
|
Packit Service |
4684c1 |
#define LOAD_TRUST_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* load-signer option description with
|
|
Packit Service |
4684c1 |
* "Must also have options" and "Incompatible options":
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the load-signer option */
|
|
Packit Service |
4684c1 |
#define LOAD_SIGNER_DESC (ocsptool_opt_strs+1609)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the load-signer option */
|
|
Packit Service |
4684c1 |
#define LOAD_SIGNER_NAME (ocsptool_opt_strs+1650)
|
|
Packit Service |
4684c1 |
/** Name string for the load-signer option */
|
|
Packit Service |
4684c1 |
#define LOAD_SIGNER_name (ocsptool_opt_strs+1662)
|
|
Packit Service |
4684c1 |
/** Other options that appear in conjunction with the load-signer option */
|
|
Packit Service |
4684c1 |
static int const aLoad_SignerCantList[] = {
|
|
Packit Service |
4684c1 |
INDEX_OPT_LOAD_TRUST, NO_EQUIVALENT };
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the load-signer option */
|
|
Packit Service |
4684c1 |
#define LOAD_SIGNER_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* inder option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the inder option */
|
|
Packit Service |
4684c1 |
#define INDER_DESC (ocsptool_opt_strs+1674)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the inder option */
|
|
Packit Service |
4684c1 |
#define INDER_NAME (ocsptool_opt_strs+1729)
|
|
Packit Service |
4684c1 |
/** disablement name for the inder option */
|
|
Packit Service |
4684c1 |
#define NOT_INDER_name (ocsptool_opt_strs+1735)
|
|
Packit Service |
4684c1 |
/** disablement prefix for the inder option */
|
|
Packit Service |
4684c1 |
#define NOT_INDER_PFX (ocsptool_opt_strs+1352)
|
|
Packit Service |
4684c1 |
/** Name string for the inder option */
|
|
Packit Service |
4684c1 |
#define INDER_name (NOT_INDER_name + 3)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the inder option */
|
|
Packit Service |
4684c1 |
#define INDER_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* outder option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the outder option */
|
|
Packit Service |
4684c1 |
#define OUTDER_DESC (ocsptool_opt_strs+1744)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the outder option */
|
|
Packit Service |
4684c1 |
#define OUTDER_NAME (ocsptool_opt_strs+1805)
|
|
Packit Service |
4684c1 |
/** Name string for the outder option */
|
|
Packit Service |
4684c1 |
#define OUTDER_name (ocsptool_opt_strs+1812)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the outder option */
|
|
Packit Service |
4684c1 |
#define OUTDER_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* outpem option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the outpem option */
|
|
Packit Service |
4684c1 |
#define OUTPEM_DESC (ocsptool_opt_strs+1819)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the outpem option */
|
|
Packit Service |
4684c1 |
#define OUTPEM_NAME (ocsptool_opt_strs+1858)
|
|
Packit Service |
4684c1 |
/** Name string for the outpem option */
|
|
Packit Service |
4684c1 |
#define OUTPEM_name (ocsptool_opt_strs+1865)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the outpem option */
|
|
Packit Service |
4684c1 |
#define OUTPEM_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* load-request option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the load-request option */
|
|
Packit Service |
4684c1 |
#define LOAD_REQUEST_DESC (ocsptool_opt_strs+1872)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the load-request option */
|
|
Packit Service |
4684c1 |
#define LOAD_REQUEST_NAME (ocsptool_opt_strs+1917)
|
|
Packit Service |
4684c1 |
/** Name string for the load-request option */
|
|
Packit Service |
4684c1 |
#define LOAD_REQUEST_name (ocsptool_opt_strs+1930)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the load-request option */
|
|
Packit Service |
4684c1 |
#define LOAD_REQUEST_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* load-response option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the load-response option */
|
|
Packit Service |
4684c1 |
#define LOAD_RESPONSE_DESC (ocsptool_opt_strs+1943)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the load-response option */
|
|
Packit Service |
4684c1 |
#define LOAD_RESPONSE_NAME (ocsptool_opt_strs+1989)
|
|
Packit Service |
4684c1 |
/** Name string for the load-response option */
|
|
Packit Service |
4684c1 |
#define LOAD_RESPONSE_name (ocsptool_opt_strs+2003)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the load-response option */
|
|
Packit Service |
4684c1 |
#define LOAD_RESPONSE_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* ignore-errors option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the ignore-errors option */
|
|
Packit Service |
4684c1 |
#define IGNORE_ERRORS_DESC (ocsptool_opt_strs+2017)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the ignore-errors option */
|
|
Packit Service |
4684c1 |
#define IGNORE_ERRORS_NAME (ocsptool_opt_strs+2048)
|
|
Packit Service |
4684c1 |
/** Name string for the ignore-errors option */
|
|
Packit Service |
4684c1 |
#define IGNORE_ERRORS_name (ocsptool_opt_strs+2062)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the ignore-errors option */
|
|
Packit Service |
4684c1 |
#define IGNORE_ERRORS_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* verify-allow-broken option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the verify-allow-broken option */
|
|
Packit Service |
4684c1 |
#define VERIFY_ALLOW_BROKEN_DESC (ocsptool_opt_strs+2076)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the verify-allow-broken option */
|
|
Packit Service |
4684c1 |
#define VERIFY_ALLOW_BROKEN_NAME (ocsptool_opt_strs+2130)
|
|
Packit Service |
4684c1 |
/** Name string for the verify-allow-broken option */
|
|
Packit Service |
4684c1 |
#define VERIFY_ALLOW_BROKEN_name (ocsptool_opt_strs+2150)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the verify-allow-broken option */
|
|
Packit Service |
4684c1 |
#define VERIFY_ALLOW_BROKEN_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* Help/More_Help/Version option descriptions:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
#define HELP_DESC (ocsptool_opt_strs+2170)
|
|
Packit Service |
4684c1 |
#define HELP_name (ocsptool_opt_strs+2214)
|
|
Packit Service |
4684c1 |
#ifdef HAVE_WORKING_FORK
|
|
Packit Service |
4684c1 |
#define MORE_HELP_DESC (ocsptool_opt_strs+2219)
|
|
Packit Service |
4684c1 |
#define MORE_HELP_name (ocsptool_opt_strs+2264)
|
|
Packit Service |
4684c1 |
#define MORE_HELP_FLAGS (OPTST_IMM | OPTST_NO_INIT)
|
|
Packit Service |
4684c1 |
#else
|
|
Packit Service |
4684c1 |
#define MORE_HELP_DESC HELP_DESC
|
|
Packit Service |
4684c1 |
#define MORE_HELP_name HELP_name
|
|
Packit Service |
4684c1 |
#define MORE_HELP_FLAGS (OPTST_OMITTED | OPTST_NO_INIT)
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
#ifdef NO_OPTIONAL_OPT_ARGS
|
|
Packit Service |
4684c1 |
# define VER_FLAGS (OPTST_IMM | OPTST_NO_INIT)
|
|
Packit Service |
4684c1 |
#else
|
|
Packit Service |
4684c1 |
# define VER_FLAGS (OPTST_SET_ARGTYPE(OPARG_TYPE_STRING) | \
|
|
Packit Service |
4684c1 |
OPTST_ARG_OPTIONAL | OPTST_IMM | OPTST_NO_INIT)
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
#define VER_DESC (ocsptool_opt_strs+2274)
|
|
Packit Service |
4684c1 |
#define VER_name (ocsptool_opt_strs+2310)
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Declare option callback procedures
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
extern tOptProc
|
|
Packit Service |
4684c1 |
optionBooleanVal, optionNestedVal, optionNumericVal,
|
|
Packit Service |
4684c1 |
optionPagedUsage, optionPrintVersion, optionResetOpt,
|
|
Packit Service |
4684c1 |
optionStackArg, optionTimeDate, optionTimeVal,
|
|
Packit Service |
4684c1 |
optionUnstackArg, optionVendorOption;
|
|
Packit Service |
4684c1 |
static tOptProc
|
|
Packit Service |
4684c1 |
doOptDebug, doOptInfile, doOptLoad_Cert,
|
|
Packit Service |
4684c1 |
doOptLoad_Chain, doOptLoad_Issuer, doOptLoad_Request,
|
|
Packit Service |
4684c1 |
doOptLoad_Response, doOptLoad_Signer, doOptLoad_Trust,
|
|
Packit Service |
4684c1 |
doUsageOpt;
|
|
Packit Service |
4684c1 |
#define VER_PROC optionPrintVersion
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Define the ocsptool Option Descriptions.
|
|
Packit Service |
4684c1 |
* This is an array of OPTION_CT entries, one for each
|
|
Packit Service |
4684c1 |
* option that the ocsptool program responds to.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static tOptDesc optDesc[OPTION_CT] = {
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 0, VALUE_OPT_DEBUG,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 0, VALUE_OPT_DEBUG,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ DEBUG_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --debug */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptDebug,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ DEBUG_DESC, DEBUG_NAME, DEBUG_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 1, VALUE_OPT_VERBOSE,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 1, VALUE_OPT_VERBOSE,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, NOLIMIT, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ VERBOSE_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --verbose */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ VERBOSE_DESC, VERBOSE_NAME, VERBOSE_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 2, VALUE_OPT_INFILE,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 2, VALUE_OPT_INFILE,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ INFILE_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --infile */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptInfile,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ INFILE_DESC, INFILE_NAME, INFILE_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 3, VALUE_OPT_OUTFILE,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 3, VALUE_OPT_OUTFILE,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ OUTFILE_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --outfile */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ OUTFILE_DESC, OUTFILE_NAME, OUTFILE_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 4, VALUE_OPT_ASK,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 4, VALUE_OPT_ASK,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ ASK_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --ask */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ ASK_DESC, ASK_NAME, ASK_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 5, VALUE_OPT_VERIFY_RESPONSE,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 5, VALUE_OPT_VERIFY_RESPONSE,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ VERIFY_RESPONSE_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --verify-response */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ VERIFY_RESPONSE_DESC, VERIFY_RESPONSE_NAME, VERIFY_RESPONSE_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 6, VALUE_OPT_REQUEST_INFO,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 6, VALUE_OPT_REQUEST_INFO,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ REQUEST_INFO_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --request-info */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ REQUEST_INFO_DESC, REQUEST_INFO_NAME, REQUEST_INFO_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 7, VALUE_OPT_RESPONSE_INFO,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 7, VALUE_OPT_RESPONSE_INFO,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ RESPONSE_INFO_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --response-info */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ RESPONSE_INFO_DESC, RESPONSE_INFO_NAME, RESPONSE_INFO_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 8, VALUE_OPT_GENERATE_REQUEST,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 8, VALUE_OPT_GENERATE_REQUEST,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ GENERATE_REQUEST_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --generate-request */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ GENERATE_REQUEST_DESC, GENERATE_REQUEST_NAME, GENERATE_REQUEST_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 9, VALUE_OPT_NONCE,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 9, VALUE_OPT_NONCE,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ NONCE_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --nonce */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ NONCE_DESC, NONCE_NAME, NONCE_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NOT_NONCE_name, NOT_NONCE_PFX },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 10, VALUE_OPT_LOAD_CHAIN,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 10, VALUE_OPT_LOAD_CHAIN,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LOAD_CHAIN_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --load-chain */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptLoad_Chain,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LOAD_CHAIN_DESC, LOAD_CHAIN_NAME, LOAD_CHAIN_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 11, VALUE_OPT_LOAD_ISSUER,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 11, VALUE_OPT_LOAD_ISSUER,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LOAD_ISSUER_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --load-issuer */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptLoad_Issuer,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LOAD_ISSUER_DESC, LOAD_ISSUER_NAME, LOAD_ISSUER_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 12, VALUE_OPT_LOAD_CERT,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 12, VALUE_OPT_LOAD_CERT,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LOAD_CERT_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --load-cert */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptLoad_Cert,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LOAD_CERT_DESC, LOAD_CERT_NAME, LOAD_CERT_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 13, VALUE_OPT_LOAD_TRUST,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 13, VALUE_OPT_LOAD_TRUST,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LOAD_TRUST_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --load-trust */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, aLoad_TrustCantList,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptLoad_Trust,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LOAD_TRUST_DESC, LOAD_TRUST_NAME, LOAD_TRUST_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 14, VALUE_OPT_LOAD_SIGNER,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 14, VALUE_OPT_LOAD_SIGNER,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LOAD_SIGNER_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --load-signer */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, aLoad_SignerCantList,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptLoad_Signer,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LOAD_SIGNER_DESC, LOAD_SIGNER_NAME, LOAD_SIGNER_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 15, VALUE_OPT_INDER,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 15, VALUE_OPT_INDER,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ INDER_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --inder */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ INDER_DESC, INDER_NAME, INDER_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NOT_INDER_name, NOT_INDER_PFX },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 16, VALUE_OPT_OUTDER,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 16, VALUE_OPT_OUTDER,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ OUTDER_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --outder */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ OUTDER_DESC, OUTDER_NAME, OUTDER_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 17, VALUE_OPT_OUTPEM,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 17, VALUE_OPT_OUTPEM,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ OUTPEM_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --outpem */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ OUTPEM_DESC, OUTPEM_NAME, OUTPEM_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 18, VALUE_OPT_LOAD_REQUEST,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 18, VALUE_OPT_LOAD_REQUEST,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LOAD_REQUEST_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --load-request */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptLoad_Request,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LOAD_REQUEST_DESC, LOAD_REQUEST_NAME, LOAD_REQUEST_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 19, VALUE_OPT_LOAD_RESPONSE,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 19, VALUE_OPT_LOAD_RESPONSE,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LOAD_RESPONSE_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --load-response */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptLoad_Response,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LOAD_RESPONSE_DESC, LOAD_RESPONSE_NAME, LOAD_RESPONSE_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 20, VALUE_OPT_IGNORE_ERRORS,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 20, VALUE_OPT_IGNORE_ERRORS,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ IGNORE_ERRORS_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --ignore-errors */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ IGNORE_ERRORS_DESC, IGNORE_ERRORS_NAME, IGNORE_ERRORS_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 21, VALUE_OPT_VERIFY_ALLOW_BROKEN,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 21, VALUE_OPT_VERIFY_ALLOW_BROKEN,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ VERIFY_ALLOW_BROKEN_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --verify-allow-broken */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ VERIFY_ALLOW_BROKEN_DESC, VERIFY_ALLOW_BROKEN_NAME, VERIFY_ALLOW_BROKEN_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ INDEX_OPT_VERSION, VALUE_OPT_VERSION,
|
|
Packit Service |
4684c1 |
/* equiv idx value */ NO_EQUIVALENT, VALUE_OPT_VERSION,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ VER_FLAGS, AOUSE_VERSION,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL },
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ VER_PROC,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ VER_DESC, NULL, VER_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ INDEX_OPT_HELP, VALUE_OPT_HELP,
|
|
Packit Service |
4684c1 |
/* equiv idx value */ NO_EQUIVALENT, VALUE_OPT_HELP,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ OPTST_IMM | OPTST_NO_INIT, AOUSE_HELP,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL },
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doUsageOpt,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ HELP_DESC, NULL, HELP_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ INDEX_OPT_MORE_HELP, VALUE_OPT_MORE_HELP,
|
|
Packit Service |
4684c1 |
/* equiv idx value */ NO_EQUIVALENT, VALUE_OPT_MORE_HELP,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ MORE_HELP_FLAGS, AOUSE_MORE_HELP,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL },
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ optionPagedUsage,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ MORE_HELP_DESC, NULL, MORE_HELP_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL }
|
|
Packit Service |
4684c1 |
};
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/** Reference to the upper cased version of ocsptool. */
|
|
Packit Service |
4684c1 |
#define zPROGNAME (ocsptool_opt_strs+2318)
|
|
Packit Service |
4684c1 |
/** Reference to the title line for ocsptool usage. */
|
|
Packit Service |
4684c1 |
#define zUsageTitle (ocsptool_opt_strs+2327)
|
|
Packit Service |
4684c1 |
/** There is no ocsptool configuration file. */
|
|
Packit Service |
4684c1 |
#define zRcName NULL
|
|
Packit Service |
4684c1 |
/** There are no directories to search for ocsptool config files. */
|
|
Packit Service |
4684c1 |
#define apzHomeList NULL
|
|
Packit Service |
4684c1 |
/** The ocsptool program bug email address. */
|
|
Packit Service |
4684c1 |
#define zBugsAddr (ocsptool_opt_strs+2413)
|
|
Packit Service |
4684c1 |
/** Clarification/explanation of what ocsptool does. */
|
|
Packit Service |
4684c1 |
#define zExplain (ocsptool_opt_strs+2429)
|
|
Packit Service |
4684c1 |
/** Extra detail explaining what ocsptool does. */
|
|
Packit Service |
4684c1 |
#define zDetail (ocsptool_opt_strs+2431)
|
|
Packit Service |
4684c1 |
/** The full version string for ocsptool. */
|
|
Packit Service |
4684c1 |
#define zFullVersion (ocsptool_opt_strs+2684)
|
|
Packit Service |
4684c1 |
/* extracted from optcode.tlib near line 342 */
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#if defined(ENABLE_NLS)
|
|
Packit Service |
4684c1 |
# define OPTPROC_BASE OPTPROC_TRANSLATE | OPTPROC_NXLAT_OPT
|
|
Packit Service |
4684c1 |
static tOptionXlateProc translate_option_strings;
|
|
Packit Service |
4684c1 |
#else
|
|
Packit Service |
4684c1 |
# define OPTPROC_BASE OPTPROC_NONE
|
|
Packit Service |
4684c1 |
# define translate_option_strings NULL
|
|
Packit Service |
4684c1 |
#endif /* ENABLE_NLS */
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#define ocsptool_full_usage (NULL)
|
|
Packit Service |
4684c1 |
#define ocsptool_short_usage (ocsptool_opt_strs+2700)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#endif /* not defined __doxygen__ */
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* Create the static procedure(s) declared above.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* The callout function that invokes the optionUsage function.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] opts the AutoOpts option description structure
|
|
Packit Service |
4684c1 |
* @param[in] od the descriptor for the "help" (usage) option.
|
|
Packit Service |
4684c1 |
* @noreturn
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doUsageOpt(tOptions * opts, tOptDesc * od)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
int ex_code;
|
|
Packit Service |
4684c1 |
ex_code = OCSPTOOL_EXIT_SUCCESS;
|
|
Packit Service |
4684c1 |
optionUsage(&ocsptoolOptions, ex_code);
|
|
Packit Service |
4684c1 |
/* NOTREACHED */
|
|
Packit Service |
4684c1 |
exit(OCSPTOOL_EXIT_FAILURE);
|
|
Packit Service |
4684c1 |
(void)opts;
|
|
Packit Service |
4684c1 |
(void)od;
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the debug option.
|
|
Packit Service |
4684c1 |
* Specifies the debug level.
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the ocsptool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptDebug(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
static struct {long rmin, rmax;} const rng[1] = {
|
|
Packit Service |
4684c1 |
{ 0 , 9999 } };
|
|
Packit Service |
4684c1 |
int ix;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
if (pOptions <= OPTPROC_EMIT_LIMIT)
|
|
Packit Service |
4684c1 |
goto emit_ranges;
|
|
Packit Service |
4684c1 |
optionNumericVal(pOptions, pOptDesc);
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
for (ix = 0; ix < 1; ix++) {
|
|
Packit Service |
4684c1 |
if (pOptDesc->optArg.argInt < rng[ix].rmin)
|
|
Packit Service |
4684c1 |
continue; /* ranges need not be ordered. */
|
|
Packit Service |
4684c1 |
if (pOptDesc->optArg.argInt == rng[ix].rmin)
|
|
Packit Service |
4684c1 |
return;
|
|
Packit Service |
4684c1 |
if (rng[ix].rmax == LONG_MIN)
|
|
Packit Service |
4684c1 |
continue;
|
|
Packit Service |
4684c1 |
if (pOptDesc->optArg.argInt <= rng[ix].rmax)
|
|
Packit Service |
4684c1 |
return;
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
option_usage_fp = stderr;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
emit_ranges:
|
|
Packit Service |
4684c1 |
optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the infile option.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the ocsptool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptInfile(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
static teOptFileType const type =
|
|
Packit Service |
4684c1 |
FTYPE_MODE_MUST_EXIST + FTYPE_MODE_NO_OPEN;
|
|
Packit Service |
4684c1 |
static tuFileMode mode;
|
|
Packit Service |
4684c1 |
#ifndef O_CLOEXEC
|
|
Packit Service |
4684c1 |
# define O_CLOEXEC 0
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
mode.file_flags = O_CLOEXEC;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* This function handles special invalid values for "pOptions"
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
optionFileCheck(pOptions, pOptDesc, type, mode);
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the load-chain option.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the ocsptool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptLoad_Chain(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
static teOptFileType const type =
|
|
Packit Service |
4684c1 |
FTYPE_MODE_MUST_EXIST + FTYPE_MODE_NO_OPEN;
|
|
Packit Service |
4684c1 |
static tuFileMode mode;
|
|
Packit Service |
4684c1 |
#ifndef O_CLOEXEC
|
|
Packit Service |
4684c1 |
# define O_CLOEXEC 0
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
mode.file_flags = O_CLOEXEC;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* This function handles special invalid values for "pOptions"
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
optionFileCheck(pOptions, pOptDesc, type, mode);
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the load-issuer option.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the ocsptool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptLoad_Issuer(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
static teOptFileType const type =
|
|
Packit Service |
4684c1 |
FTYPE_MODE_MUST_EXIST + FTYPE_MODE_NO_OPEN;
|
|
Packit Service |
4684c1 |
static tuFileMode mode;
|
|
Packit Service |
4684c1 |
#ifndef O_CLOEXEC
|
|
Packit Service |
4684c1 |
# define O_CLOEXEC 0
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
mode.file_flags = O_CLOEXEC;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* This function handles special invalid values for "pOptions"
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
optionFileCheck(pOptions, pOptDesc, type, mode);
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the load-cert option.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the ocsptool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptLoad_Cert(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
static teOptFileType const type =
|
|
Packit Service |
4684c1 |
FTYPE_MODE_MUST_EXIST + FTYPE_MODE_NO_OPEN;
|
|
Packit Service |
4684c1 |
static tuFileMode mode;
|
|
Packit Service |
4684c1 |
#ifndef O_CLOEXEC
|
|
Packit Service |
4684c1 |
# define O_CLOEXEC 0
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
mode.file_flags = O_CLOEXEC;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* This function handles special invalid values for "pOptions"
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
optionFileCheck(pOptions, pOptDesc, type, mode);
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the load-trust option.
|
|
Packit Service |
4684c1 |
* When verifying an OCSP response read the trust anchors from the
|
|
Packit Service |
4684c1 |
* provided file. When this is not provided, the system's trust anchors will be
|
|
Packit Service |
4684c1 |
* used.
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the ocsptool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptLoad_Trust(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
static teOptFileType const type =
|
|
Packit Service |
4684c1 |
FTYPE_MODE_MUST_EXIST + FTYPE_MODE_NO_OPEN;
|
|
Packit Service |
4684c1 |
static tuFileMode mode;
|
|
Packit Service |
4684c1 |
#ifndef O_CLOEXEC
|
|
Packit Service |
4684c1 |
# define O_CLOEXEC 0
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
mode.file_flags = O_CLOEXEC;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* This function handles special invalid values for "pOptions"
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
optionFileCheck(pOptions, pOptDesc, type, mode);
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the load-signer option.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the ocsptool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptLoad_Signer(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
static teOptFileType const type =
|
|
Packit Service |
4684c1 |
FTYPE_MODE_MUST_EXIST + FTYPE_MODE_NO_OPEN;
|
|
Packit Service |
4684c1 |
static tuFileMode mode;
|
|
Packit Service |
4684c1 |
#ifndef O_CLOEXEC
|
|
Packit Service |
4684c1 |
# define O_CLOEXEC 0
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
mode.file_flags = O_CLOEXEC;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* This function handles special invalid values for "pOptions"
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
optionFileCheck(pOptions, pOptDesc, type, mode);
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the load-request option.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the ocsptool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptLoad_Request(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
static teOptFileType const type =
|
|
Packit Service |
4684c1 |
FTYPE_MODE_MUST_EXIST + FTYPE_MODE_NO_OPEN;
|
|
Packit Service |
4684c1 |
static tuFileMode mode;
|
|
Packit Service |
4684c1 |
#ifndef O_CLOEXEC
|
|
Packit Service |
4684c1 |
# define O_CLOEXEC 0
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
mode.file_flags = O_CLOEXEC;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* This function handles special invalid values for "pOptions"
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
optionFileCheck(pOptions, pOptDesc, type, mode);
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the load-response option.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the ocsptool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptLoad_Response(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
static teOptFileType const type =
|
|
Packit Service |
4684c1 |
FTYPE_MODE_MUST_EXIST + FTYPE_MODE_NO_OPEN;
|
|
Packit Service |
4684c1 |
static tuFileMode mode;
|
|
Packit Service |
4684c1 |
#ifndef O_CLOEXEC
|
|
Packit Service |
4684c1 |
# define O_CLOEXEC 0
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
mode.file_flags = O_CLOEXEC;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* This function handles special invalid values for "pOptions"
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
optionFileCheck(pOptions, pOptDesc, type, mode);
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
/* extracted from optmain.tlib near line 1250 */
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* The directory containing the data associated with ocsptool.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
#ifndef PKGDATADIR
|
|
Packit Service |
4684c1 |
# define PKGDATADIR ""
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Information about the person or institution that packaged ocsptool
|
|
Packit Service |
4684c1 |
* for the current distribution.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
#ifndef WITH_PACKAGER
|
|
Packit Service |
4684c1 |
# define ocsptool_packager_info NULL
|
|
Packit Service |
4684c1 |
#else
|
|
Packit Service |
4684c1 |
/** Packager information for ocsptool. */
|
|
Packit Service |
4684c1 |
static char const ocsptool_packager_info[] =
|
|
Packit Service |
4684c1 |
"Packaged by " WITH_PACKAGER
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
# ifdef WITH_PACKAGER_VERSION
|
|
Packit Service |
4684c1 |
" ("WITH_PACKAGER_VERSION")"
|
|
Packit Service |
4684c1 |
# endif
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
# ifdef WITH_PACKAGER_BUG_REPORTS
|
|
Packit Service |
4684c1 |
"\nReport ocsptool bugs to " WITH_PACKAGER_BUG_REPORTS
|
|
Packit Service |
4684c1 |
# endif
|
|
Packit Service |
4684c1 |
"\n";
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
#ifndef __doxygen__
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#endif /* __doxygen__ */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* The option definitions for ocsptool. The one structure that
|
|
Packit Service |
4684c1 |
* binds them all.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
tOptions ocsptoolOptions = {
|
|
Packit Service |
4684c1 |
OPTIONS_STRUCT_VERSION,
|
|
Packit Service |
4684c1 |
0, NULL, /* original argc + argv */
|
|
Packit Service |
4684c1 |
( OPTPROC_BASE
|
|
Packit Service |
4684c1 |
+ OPTPROC_ERRSTOP
|
|
Packit Service |
4684c1 |
+ OPTPROC_SHORTOPT
|
|
Packit Service |
4684c1 |
+ OPTPROC_LONGOPT
|
|
Packit Service |
4684c1 |
+ OPTPROC_NO_REQ_OPT
|
|
Packit Service |
4684c1 |
+ OPTPROC_NEGATIONS
|
|
Packit Service |
4684c1 |
+ OPTPROC_NO_ARGS
|
|
Packit Service |
4684c1 |
+ OPTPROC_GNUUSAGE
|
|
Packit Service |
4684c1 |
+ OPTPROC_MISUSE ),
|
|
Packit Service |
4684c1 |
0, NULL, /* current option index, current option */
|
|
Packit Service |
4684c1 |
NULL, NULL, zPROGNAME,
|
|
Packit Service |
4684c1 |
zRcName, zCopyright, zLicenseDescrip,
|
|
Packit Service |
4684c1 |
zFullVersion, apzHomeList, zUsageTitle,
|
|
Packit Service |
4684c1 |
zExplain, zDetail, optDesc,
|
|
Packit Service |
4684c1 |
zBugsAddr, /* address to send bugs to */
|
|
Packit Service |
4684c1 |
NULL, NULL, /* extensions/saved state */
|
|
Packit Service |
4684c1 |
optionUsage, /* usage procedure */
|
|
Packit Service |
4684c1 |
translate_option_strings, /* translation procedure */
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* Indexes to special options
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
{ INDEX_OPT_MORE_HELP, /* more-help option index */
|
|
Packit Service |
4684c1 |
NO_EQUIVALENT, /* save option index */
|
|
Packit Service |
4684c1 |
NO_EQUIVALENT, /* '-#' option index */
|
|
Packit Service |
4684c1 |
NO_EQUIVALENT /* index of default opt */
|
|
Packit Service |
4684c1 |
},
|
|
Packit Service |
4684c1 |
25 /* full option count */, 22 /* user option count */,
|
|
Packit Service |
4684c1 |
ocsptool_full_usage, ocsptool_short_usage,
|
|
Packit Service |
4684c1 |
NULL, NULL,
|
|
Packit Service |
4684c1 |
PKGDATADIR, ocsptool_packager_info
|
|
Packit Service |
4684c1 |
};
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#if ENABLE_NLS
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* This code is designed to translate translatable option text for the
|
|
Packit Service |
4684c1 |
* ocsptool program. These translations happen upon entry
|
|
Packit Service |
4684c1 |
* to optionProcess().
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
#include <stdio.h>
|
|
Packit Service |
4684c1 |
#include <stdlib.h>
|
|
Packit Service |
4684c1 |
#include <string.h>
|
|
Packit Service |
4684c1 |
#include <unistd.h>
|
|
Packit Service |
4684c1 |
#ifdef HAVE_DCGETTEXT
|
|
Packit Service |
4684c1 |
# include <gettext.h>
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
#include <autoopts/usage-txt.h>
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
static char * AO_gettext(char const * pz);
|
|
Packit Service |
4684c1 |
static void coerce_it(void ** s);
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* AutoGen specific wrapper function for gettext. It relies on the macro _()
|
|
Packit Service |
4684c1 |
* to convert from English to the target language, then strdup-duplicates the
|
|
Packit Service |
4684c1 |
* result string. It tries the "libopts" domain first, then whatever has been
|
|
Packit Service |
4684c1 |
* set via the \a textdomain(3) call.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pz the input text used as a lookup key.
|
|
Packit Service |
4684c1 |
* @returns the translated text (if there is one),
|
|
Packit Service |
4684c1 |
* or the original text (if not).
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static char *
|
|
Packit Service |
4684c1 |
AO_gettext(char const * pz)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
char * res;
|
|
Packit Service |
4684c1 |
if (pz == NULL)
|
|
Packit Service |
4684c1 |
return NULL;
|
|
Packit Service |
4684c1 |
#ifdef HAVE_DCGETTEXT
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* While processing the option_xlateable_txt data, try to use the
|
|
Packit Service |
4684c1 |
* "libopts" domain. Once we switch to the option descriptor data,
|
|
Packit Service |
4684c1 |
* do *not* use that domain.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
if (option_xlateable_txt.field_ct != 0) {
|
|
Packit Service |
4684c1 |
res = dgettext("libopts", pz);
|
|
Packit Service |
4684c1 |
if (res == pz)
|
|
Packit Service |
4684c1 |
res = (char *)VOIDP(_(pz));
|
|
Packit Service |
4684c1 |
} else
|
|
Packit Service |
4684c1 |
res = (char *)VOIDP(_(pz));
|
|
Packit Service |
4684c1 |
#else
|
|
Packit Service |
4684c1 |
res = (char *)VOIDP(_(pz));
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
if (res == pz)
|
|
Packit Service |
4684c1 |
return res;
|
|
Packit Service |
4684c1 |
res = strdup(res);
|
|
Packit Service |
4684c1 |
if (res == NULL) {
|
|
Packit Service |
4684c1 |
fputs(_("No memory for duping translated strings\n"), stderr);
|
|
Packit Service |
4684c1 |
exit(OCSPTOOL_EXIT_FAILURE);
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
return res;
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* All the pointers we use are marked "* const", but they are stored in
|
|
Packit Service |
4684c1 |
* writable memory. Coerce the mutability and set the pointer.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void coerce_it(void ** s) { *s = AO_gettext(*s);
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Translate all the translatable strings in the ocsptoolOptions
|
|
Packit Service |
4684c1 |
* structure defined above. This is done only once.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
translate_option_strings(void)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
tOptions * const opts = &ocsptoolOptions;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* Guard against re-translation. It won't work. The strings will have
|
|
Packit Service |
4684c1 |
* been changed by the first pass through this code. One shot only.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
if (option_xlateable_txt.field_ct != 0) {
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* Do the translations. The first pointer follows the field count
|
|
Packit Service |
4684c1 |
* field. The field count field is the size of a pointer.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
char ** ppz = (char**)VOIDP(&(option_xlateable_txt));
|
|
Packit Service |
4684c1 |
int ix = option_xlateable_txt.field_ct;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
do {
|
|
Packit Service |
4684c1 |
ppz++; /* skip over field_ct */
|
|
Packit Service |
4684c1 |
*ppz = AO_gettext(*ppz);
|
|
Packit Service |
4684c1 |
} while (--ix > 0);
|
|
Packit Service |
4684c1 |
/* prevent re-translation and disable "libopts" domain lookup */
|
|
Packit Service |
4684c1 |
option_xlateable_txt.field_ct = 0;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
coerce_it(VOIDP(&(opts->pzCopyright)));
|
|
Packit Service |
4684c1 |
coerce_it(VOIDP(&(opts->pzCopyNotice)));
|
|
Packit Service |
4684c1 |
coerce_it(VOIDP(&(opts->pzFullVersion)));
|
|
Packit Service |
4684c1 |
coerce_it(VOIDP(&(opts->pzUsageTitle)));
|
|
Packit Service |
4684c1 |
coerce_it(VOIDP(&(opts->pzExplain)));
|
|
Packit Service |
4684c1 |
coerce_it(VOIDP(&(opts->pzDetail)));
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
tOptDesc * od = opts->pOptDesc;
|
|
Packit Service |
4684c1 |
for (ix = opts->optCt; ix > 0; ix--, od++)
|
|
Packit Service |
4684c1 |
coerce_it(VOIDP(&(od->pzText)));
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
#endif /* ENABLE_NLS */
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#ifdef DO_NOT_COMPILE_THIS_CODE_IT_IS_FOR_GETTEXT
|
|
Packit Service |
4684c1 |
/** I18N function strictly for xgettext. Do not compile. */
|
|
Packit Service |
4684c1 |
static void bogus_function(void) {
|
|
Packit Service |
4684c1 |
/* TRANSLATORS:
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
The following dummy function was crated solely so that xgettext can
|
|
Packit Service |
4684c1 |
extract the correct strings. These strings are actually referenced
|
|
Packit Service |
4684c1 |
by a field name in the ocsptoolOptions structure noted in the
|
|
Packit Service |
4684c1 |
comments below. The literal text is defined in ocsptool_opt_strs.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
NOTE: the strings below are segmented with respect to the source string
|
|
Packit Service |
4684c1 |
ocsptool_opt_strs. The strings above are handed off for translation
|
|
Packit Service |
4684c1 |
at run time a paragraph at a time. Consequently, they are presented here
|
|
Packit Service |
4684c1 |
for translation a paragraph at a time.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
ALSO: often the description for an option will reference another option
|
|
Packit Service |
4684c1 |
by name. These are set off with apostrophe quotes (I hope). Do not
|
|
Packit Service |
4684c1 |
translate option names.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pzCopyright */
|
|
Packit Service |
4684c1 |
puts(_("ocsptool 3.6.14\n\
|
|
Packit Service |
4684c1 |
Copyright (C) 2000-2020 Free Software Foundation, and others, all rights reserved.\n\
|
|
Packit Service |
4684c1 |
This is free software. It is licensed for use, modification and\n\
|
|
Packit Service |
4684c1 |
redistribution under the terms of the GNU General Public License,\n\
|
|
Packit Service |
4684c1 |
version 3 or later <http://gnu.org/licenses/gpl.html>\n"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pzCopyNotice */
|
|
Packit Service |
4684c1 |
puts(_("ocsptool is free software: you can redistribute it and/or modify it under\n\
|
|
Packit Service |
4684c1 |
the terms of the GNU General Public License as published by the Free\n\
|
|
Packit Service |
4684c1 |
Software Foundation, either version 3 of the License, or (at your option)\n\
|
|
Packit Service |
4684c1 |
any later version.\n\n"));
|
|
Packit Service |
4684c1 |
puts(_("ocsptool is distributed in the hope that it will be useful, but WITHOUT ANY\n\
|
|
Packit Service |
4684c1 |
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n\
|
|
Packit Service |
4684c1 |
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more\n\
|
|
Packit Service |
4684c1 |
details.\n\n"));
|
|
Packit Service |
4684c1 |
puts(_("You should have received a copy of the GNU General Public License along\n\
|
|
Packit Service |
4684c1 |
with this program. If not, see <http://www.gnu.org/licenses/>.\n"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Enable debugging"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("More verbose output"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Input file"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Output file"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Ask an OCSP/HTTP server on a certificate validity"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Verify response"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Print information on a OCSP request"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Print information on a OCSP response"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Generates an OCSP request"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Use (or not) a nonce to OCSP request"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Reads a set of certificates forming a chain from file"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Reads issuer's certificate from file"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Reads the certificate to check from file"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Read OCSP trust anchors from file"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Reads the OCSP response signer from file"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Use DER format for input certificates and private keys"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Use DER format for output of responses (this is the default)"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Use PEM format for output of responses"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Reads the DER encoded OCSP request from file"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Reads the DER encoded OCSP response from file"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Ignore any verification errors"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Allow broken algorithms, such as MD5 for verification"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("display extended usage information and exit"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("extended usage information passed thru pager"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("output version information and exit"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pzUsageTitle */
|
|
Packit Service |
4684c1 |
puts(_("ocsptool - GnuTLS OCSP tool\n\
|
|
Packit Service |
4684c1 |
Usage: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pzExplain */
|
|
Packit Service |
4684c1 |
puts(_("\n"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pzDetail */
|
|
Packit Service |
4684c1 |
puts(_("ocsptool is a program that can parse and print information about OCSP\n\
|
|
Packit Service |
4684c1 |
requests/responses, generate requests and verify responses. Unlike other\n\
|
|
Packit Service |
4684c1 |
GnuTLS applications it outputs DER encoded structures by default unless the\n\
|
|
Packit Service |
4684c1 |
'--outpem' option is specified.\n"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pzFullVersion */
|
|
Packit Service |
4684c1 |
puts(_("ocsptool 3.6.14"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pzFullUsage */
|
|
Packit Service |
4684c1 |
puts(_("<<<NOT-FOUND>>>"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via ocsptoolOptions.pzShortUsage */
|
|
Packit Service |
4684c1 |
puts(_("ocsptool [options]\n\
|
|
Packit Service |
4684c1 |
ocsptool --help for usage instructions.\n"));
|
|
Packit Service |
4684c1 |
/* LIBOPTS-MESSAGES: */
|
|
Packit Service |
4684c1 |
#line 67 "../autoopts.c"
|
|
Packit Service |
4684c1 |
puts(_("allocation of %d bytes failed\n"));
|
|
Packit Service |
4684c1 |
#line 89 "../autoopts.c"
|
|
Packit Service |
4684c1 |
puts(_("allocation of %d bytes failed\n"));
|
|
Packit Service |
4684c1 |
#line 48 "../init.c"
|
|
Packit Service |
4684c1 |
puts(_("AutoOpts function called without option descriptor\n"));
|
|
Packit Service |
4684c1 |
#line 81 "../init.c"
|
|
Packit Service |
4684c1 |
puts(_("\tThis exceeds the compiled library version: "));
|
|
Packit Service |
4684c1 |
#line 79 "../init.c"
|
|
Packit Service |
4684c1 |
puts(_("Automated Options Processing Error!\n"
|
|
Packit Service |
4684c1 |
"\t%s called AutoOpts function with structure version %d:%d:%d.\n"));
|
|
Packit Service |
4684c1 |
#line 78 "../autoopts.c"
|
|
Packit Service |
4684c1 |
puts(_("realloc of %d bytes at 0x%p failed\n"));
|
|
Packit Service |
4684c1 |
#line 83 "../init.c"
|
|
Packit Service |
4684c1 |
puts(_("\tThis is less than the minimum library version: "));
|
|
Packit Service |
4684c1 |
#line 121 "../version.c"
|
|
Packit Service |
4684c1 |
puts(_("Automated Options version %s\n"
|
|
Packit Service |
4684c1 |
"\tCopyright (C) 1999-2017 by Bruce Korb - all rights reserved\n"));
|
|
Packit Service |
4684c1 |
#line 49 "../makeshell.c"
|
|
Packit Service |
4684c1 |
puts(_("(AutoOpts bug): %s.\n"));
|
|
Packit Service |
4684c1 |
#line 90 "../reset.c"
|
|
Packit Service |
4684c1 |
puts(_("optionResetOpt() called, but reset-option not configured"));
|
|
Packit Service |
4684c1 |
#line 241 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("could not locate the 'help' option"));
|
|
Packit Service |
4684c1 |
#line 330 "../autoopts.c"
|
|
Packit Service |
4684c1 |
puts(_("optionProcess() was called with invalid data"));
|
|
Packit Service |
4684c1 |
#line 697 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("invalid argument type specified"));
|
|
Packit Service |
4684c1 |
#line 568 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("defaulted to option with optional arg"));
|
|
Packit Service |
4684c1 |
#line 76 "../alias.c"
|
|
Packit Service |
4684c1 |
puts(_("aliasing option is out of range."));
|
|
Packit Service |
4684c1 |
#line 210 "../enum.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: the keyword '%s' is ambiguous for %s\n"));
|
|
Packit Service |
4684c1 |
#line 78 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_(" The following options match:\n"));
|
|
Packit Service |
4684c1 |
#line 263 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: ambiguous option name: %s (matches %d options)\n"));
|
|
Packit Service |
4684c1 |
#line 161 "../check.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: Command line arguments required\n"));
|
|
Packit Service |
4684c1 |
#line 43 "../alias.c"
|
|
Packit Service |
4684c1 |
puts(_("%d %s%s options allowed\n"));
|
|
Packit Service |
4684c1 |
#line 56 "../makeshell.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error %d (%s) calling %s for '%s'\n"));
|
|
Packit Service |
4684c1 |
#line 268 "../makeshell.c"
|
|
Packit Service |
4684c1 |
puts(_("interprocess pipe"));
|
|
Packit Service |
4684c1 |
#line 171 "../version.c"
|
|
Packit Service |
4684c1 |
puts(_("error: version option argument '%c' invalid. Use:\n"
|
|
Packit Service |
4684c1 |
"\t'v' - version only\n"
|
|
Packit Service |
4684c1 |
"\t'c' - version and copyright\n"
|
|
Packit Service |
4684c1 |
"\t'n' - version and full copyright notice\n"));
|
|
Packit Service |
4684c1 |
#line 58 "../check.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: the '%s' and '%s' options conflict\n"));
|
|
Packit Service |
4684c1 |
#line 187 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: The '%s' option has been disabled."));
|
|
Packit Service |
4684c1 |
#line 400 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: The '%s' option has been disabled."));
|
|
Packit Service |
4684c1 |
#line 38 "../alias.c"
|
|
Packit Service |
4684c1 |
puts(_("-equivalence"));
|
|
Packit Service |
4684c1 |
#line 439 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: illegal option -- %c\n"));
|
|
Packit Service |
4684c1 |
#line 110 "../reset.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: illegal option -- %c\n"));
|
|
Packit Service |
4684c1 |
#line 241 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: illegal option -- %s\n"));
|
|
Packit Service |
4684c1 |
#line 740 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: illegal option -- %s\n"));
|
|
Packit Service |
4684c1 |
#line 118 "../reset.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: illegal option -- %s\n"));
|
|
Packit Service |
4684c1 |
#line 305 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: unknown vendor extension option -- %s\n"));
|
|
Packit Service |
4684c1 |
#line 135 "../enum.c"
|
|
Packit Service |
4684c1 |
puts(_(" or an integer from %d through %d\n"));
|
|
Packit Service |
4684c1 |
#line 145 "../enum.c"
|
|
Packit Service |
4684c1 |
puts(_(" or an integer from %d through %d\n"));
|
|
Packit Service |
4684c1 |
#line 696 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: invalid option descriptor for %s\n"));
|
|
Packit Service |
4684c1 |
#line 1030 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: invalid option descriptor for %s\n"));
|
|
Packit Service |
4684c1 |
#line 355 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: invalid option name: %s\n"));
|
|
Packit Service |
4684c1 |
#line 497 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: The '%s' option requires an argument.\n"));
|
|
Packit Service |
4684c1 |
#line 150 "../autoopts.c"
|
|
Packit Service |
4684c1 |
puts(_("(AutoOpts bug): Equivalenced option '%s' was equivalenced to both\n"
|
|
Packit Service |
4684c1 |
"\t'%s' and '%s'."));
|
|
Packit Service |
4684c1 |
#line 94 "../check.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: The %s option is required\n"));
|
|
Packit Service |
4684c1 |
#line 602 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: The '%s' option cannot have an argument.\n"));
|
|
Packit Service |
4684c1 |
#line 151 "../check.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: Command line arguments are not allowed.\n"));
|
|
Packit Service |
4684c1 |
#line 568 "../save.c"
|
|
Packit Service |
4684c1 |
puts(_("error %d (%s) creating %s\n"));
|
|
Packit Service |
4684c1 |
#line 210 "../enum.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: '%s' does not match any %s keywords.\n"));
|
|
Packit Service |
4684c1 |
#line 93 "../reset.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: The '%s' option requires an argument.\n"));
|
|
Packit Service |
4684c1 |
#line 122 "../save.c"
|
|
Packit Service |
4684c1 |
puts(_("error %d (%s) stat-ing %s\n"));
|
|
Packit Service |
4684c1 |
#line 175 "../save.c"
|
|
Packit Service |
4684c1 |
puts(_("error %d (%s) stat-ing %s\n"));
|
|
Packit Service |
4684c1 |
#line 143 "../restore.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: no saved option state\n"));
|
|
Packit Service |
4684c1 |
#line 225 "../autoopts.c"
|
|
Packit Service |
4684c1 |
puts(_("'%s' is not a command line option.\n"));
|
|
Packit Service |
4684c1 |
#line 113 "../time.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: '%s' is not a recognizable date/time.\n"));
|
|
Packit Service |
4684c1 |
#line 50 "../time.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: '%s' is not a recognizable time duration.\n"));
|
|
Packit Service |
4684c1 |
#line 92 "../check.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: The %s option must appear %d times.\n"));
|
|
Packit Service |
4684c1 |
#line 165 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: '%s' is not a recognizable number.\n"));
|
|
Packit Service |
4684c1 |
#line 176 "../enum.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: %s exceeds %s keyword count\n"));
|
|
Packit Service |
4684c1 |
#line 279 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("Try '%s %s' for more information.\n"));
|
|
Packit Service |
4684c1 |
#line 45 "../alias.c"
|
|
Packit Service |
4684c1 |
puts(_("one %s%s option allowed\n"));
|
|
Packit Service |
4684c1 |
#line 170 "../makeshell.c"
|
|
Packit Service |
4684c1 |
puts(_("standard output"));
|
|
Packit Service |
4684c1 |
#line 905 "../makeshell.c"
|
|
Packit Service |
4684c1 |
puts(_("standard output"));
|
|
Packit Service |
4684c1 |
#line 223 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("standard output"));
|
|
Packit Service |
4684c1 |
#line 364 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("standard output"));
|
|
Packit Service |
4684c1 |
#line 574 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("standard output"));
|
|
Packit Service |
4684c1 |
#line 178 "../version.c"
|
|
Packit Service |
4684c1 |
puts(_("standard output"));
|
|
Packit Service |
4684c1 |
#line 223 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("standard error"));
|
|
Packit Service |
4684c1 |
#line 364 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("standard error"));
|
|
Packit Service |
4684c1 |
#line 574 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("standard error"));
|
|
Packit Service |
4684c1 |
#line 178 "../version.c"
|
|
Packit Service |
4684c1 |
puts(_("standard error"));
|
|
Packit Service |
4684c1 |
#line 170 "../makeshell.c"
|
|
Packit Service |
4684c1 |
puts(_("write"));
|
|
Packit Service |
4684c1 |
#line 905 "../makeshell.c"
|
|
Packit Service |
4684c1 |
puts(_("write"));
|
|
Packit Service |
4684c1 |
#line 222 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("write"));
|
|
Packit Service |
4684c1 |
#line 363 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("write"));
|
|
Packit Service |
4684c1 |
#line 573 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("write"));
|
|
Packit Service |
4684c1 |
#line 177 "../version.c"
|
|
Packit Service |
4684c1 |
puts(_("write"));
|
|
Packit Service |
4684c1 |
#line 60 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: %s option value %ld is out of range.\n"));
|
|
Packit Service |
4684c1 |
#line 44 "../check.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: %s option requires the %s option\n"));
|
|
Packit Service |
4684c1 |
#line 121 "../save.c"
|
|
Packit Service |
4684c1 |
puts(_("%s warning: cannot save options - %s not regular file\n"));
|
|
Packit Service |
4684c1 |
#line 174 "../save.c"
|
|
Packit Service |
4684c1 |
puts(_("%s warning: cannot save options - %s not regular file\n"));
|
|
Packit Service |
4684c1 |
#line 193 "../save.c"
|
|
Packit Service |
4684c1 |
puts(_("%s warning: cannot save options - %s not regular file\n"));
|
|
Packit Service |
4684c1 |
#line 567 "../save.c"
|
|
Packit Service |
4684c1 |
puts(_("%s warning: cannot save options - %s not regular file\n"));
|
|
Packit Service |
4684c1 |
/* END-LIBOPTS-MESSAGES */
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* USAGE-TEXT: */
|
|
Packit Service |
4684c1 |
#line 822 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- an alternate for '%s'\n"));
|
|
Packit Service |
4684c1 |
#line 1097 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("Version, usage and configuration options:"));
|
|
Packit Service |
4684c1 |
#line 873 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- default option for unnamed options\n"));
|
|
Packit Service |
4684c1 |
#line 786 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- disabled as '--%s'\n"));
|
|
Packit Service |
4684c1 |
#line 1066 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" --- %-14s %s\n"));
|
|
Packit Service |
4684c1 |
#line 1064 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("This option has been disabled"));
|
|
Packit Service |
4684c1 |
#line 813 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- enabled by default\n"));
|
|
Packit Service |
4684c1 |
#line 40 "../alias.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: only "));
|
|
Packit Service |
4684c1 |
#line 1143 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" - examining environment variables named %s_*\n"));
|
|
Packit Service |
4684c1 |
#line 168 "../file.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- file must not pre-exist\n"));
|
|
Packit Service |
4684c1 |
#line 172 "../file.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- file must pre-exist\n"));
|
|
Packit Service |
4684c1 |
#line 329 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("Options are specified by doubled hyphens and their name or by a single\n"
|
|
Packit Service |
4684c1 |
"hyphen and the flag character.\n"));
|
|
Packit Service |
4684c1 |
#line 882 "../makeshell.c"
|
|
Packit Service |
4684c1 |
puts(_("\n"
|
|
Packit Service |
4684c1 |
"= = = = = = = =\n\n"
|
|
Packit Service |
4684c1 |
"This incarnation of genshell will produce\n"
|
|
Packit Service |
4684c1 |
"a shell script to parse the options for %s:\n\n"));
|
|
Packit Service |
4684c1 |
#line 142 "../enum.c"
|
|
Packit Service |
4684c1 |
puts(_(" or an integer mask with any of the lower %d bits set\n"));
|
|
Packit Service |
4684c1 |
#line 846 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- is a set membership option\n"));
|
|
Packit Service |
4684c1 |
#line 867 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- must appear between %d and %d times\n"));
|
|
Packit Service |
4684c1 |
#line 331 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("Options are specified by single or double hyphens and their name.\n"));
|
|
Packit Service |
4684c1 |
#line 853 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- may appear multiple times\n"));
|
|
Packit Service |
4684c1 |
#line 840 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- may not be preset\n"));
|
|
Packit Service |
4684c1 |
#line 1258 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" Arg Option-Name Description\n"));
|
|
Packit Service |
4684c1 |
#line 1194 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" Flg Arg Option-Name Description\n"));
|
|
Packit Service |
4684c1 |
#line 1252 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" Flg Arg Option-Name Description\n"));
|
|
Packit Service |
4684c1 |
#line 1253 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" %3s %s"));
|
|
Packit Service |
4684c1 |
#line 1259 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" %3s %s"));
|
|
Packit Service |
4684c1 |
#line 336 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("The '-#<number>' option may omit the hash char\n"));
|
|
Packit Service |
4684c1 |
#line 332 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("All arguments are named options.\n"));
|
|
Packit Service |
4684c1 |
#line 920 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" - reading file %s"));
|
|
Packit Service |
4684c1 |
#line 358 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\n"
|
|
Packit Service |
4684c1 |
"Please send bug reports to: <%s>\n"));
|
|
Packit Service |
4684c1 |
#line 100 "../version.c"
|
|
Packit Service |
4684c1 |
puts(_("\n"
|
|
Packit Service |
4684c1 |
"Please send bug reports to: <%s>\n"));
|
|
Packit Service |
4684c1 |
#line 129 "../version.c"
|
|
Packit Service |
4684c1 |
puts(_("\n"
|
|
Packit Service |
4684c1 |
"Please send bug reports to: <%s>\n"));
|
|
Packit Service |
4684c1 |
#line 852 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- may NOT appear - preset only\n"));
|
|
Packit Service |
4684c1 |
#line 893 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\n"
|
|
Packit Service |
4684c1 |
"The following option preset mechanisms are supported:\n"));
|
|
Packit Service |
4684c1 |
#line 1141 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\n"
|
|
Packit Service |
4684c1 |
"The following option preset mechanisms are supported:\n"));
|
|
Packit Service |
4684c1 |
#line 631 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("prohibits these options:\n"));
|
|
Packit Service |
4684c1 |
#line 626 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("prohibits the option '%s'\n"));
|
|
Packit Service |
4684c1 |
#line 81 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_("%s%ld to %ld"));
|
|
Packit Service |
4684c1 |
#line 79 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_("%sgreater than or equal to %ld"));
|
|
Packit Service |
4684c1 |
#line 75 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_("%s%ld exactly"));
|
|
Packit Service |
4684c1 |
#line 68 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_("%sit must lie in one of the ranges:\n"));
|
|
Packit Service |
4684c1 |
#line 68 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_("%sit must be in the range:\n"));
|
|
Packit Service |
4684c1 |
#line 88 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_(", or\n"));
|
|
Packit Service |
4684c1 |
#line 66 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_("%sis scalable with a suffix: k/K/m/M/g/G/t/T\n"));
|
|
Packit Service |
4684c1 |
#line 77 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_("%sless than or equal to %ld"));
|
|
Packit Service |
4684c1 |
#line 339 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("Operands and options may be intermixed. They will be reordered.\n"));
|
|
Packit Service |
4684c1 |
#line 601 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("requires the option '%s'\n"));
|
|
Packit Service |
4684c1 |
#line 604 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("requires these options:\n"));
|
|
Packit Service |
4684c1 |
#line 1270 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" Arg Option-Name Req? Description\n"));
|
|
Packit Service |
4684c1 |
#line 1264 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" Flg Arg Option-Name Req? Description\n"));
|
|
Packit Service |
4684c1 |
#line 143 "../enum.c"
|
|
Packit Service |
4684c1 |
puts(_("or you may use a numeric representation. Preceding these with a '!'\n"
|
|
Packit Service |
4684c1 |
"will clear the bits, specifying 'none' will clear all bits, and 'all'\n"
|
|
Packit Service |
4684c1 |
"will set them all. Multiple entries may be passed as an option\n"
|
|
Packit Service |
4684c1 |
"argument list.\n"));
|
|
Packit Service |
4684c1 |
#line 859 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- may appear up to %d times\n"));
|
|
Packit Service |
4684c1 |
#line 52 "../enum.c"
|
|
Packit Service |
4684c1 |
puts(_("The valid \"%s\" option keywords are:\n"));
|
|
Packit Service |
4684c1 |
#line 1101 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("The next option supports vendor supported extra options:"));
|
|
Packit Service |
4684c1 |
#line 722 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("These additional options are:"));
|
|
Packit Service |
4684c1 |
/* END-USAGE-TEXT */
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
#endif /* uncompilable code */
|
|
Packit Service |
4684c1 |
#ifdef __cplusplus
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
/* ocsptool-args.c ends here */
|