mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-11 22:52:47 +01:00
sm: Remove unused argument '--fixed-passphrase'.
* doc/gpgsm.texi: Drop description. * sm/gpgsm.c (cmd_and_opt_values): Drop enum value. (opts): Drop argument. (main): Drop argument handling. * sm/gpgsm.h (struct opt): Drop field 'fixed_passphrase'. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
a68ca5a904
commit
53ed98eda7
@ -737,12 +737,6 @@ This is actually not a debugging option but only useful as such. It
|
|||||||
lets @command{gpgsm} ignore all notAfter dates, this is used by the regression
|
lets @command{gpgsm} ignore all notAfter dates, this is used by the regression
|
||||||
tests.
|
tests.
|
||||||
|
|
||||||
@item --fixed-passphrase @var{string}
|
|
||||||
@opindex fixed-passphrase
|
|
||||||
Supply the passphrase @var{string} to the gpg-protect-tool. This
|
|
||||||
option is only useful for the regression tests included with this
|
|
||||||
package and may be revised or removed at any time without notice.
|
|
||||||
|
|
||||||
@item --no-common-certs-import
|
@item --no-common-certs-import
|
||||||
@opindex no-common-certs-import
|
@opindex no-common-certs-import
|
||||||
Suppress the import of common certificates on keybox creation.
|
Suppress the import of common certificates on keybox creation.
|
||||||
|
@ -99,7 +99,6 @@ enum cmd_and_opt_values {
|
|||||||
oDebugAllowCoreDump,
|
oDebugAllowCoreDump,
|
||||||
oDebugNoChainValidation,
|
oDebugNoChainValidation,
|
||||||
oDebugIgnoreExpiration,
|
oDebugIgnoreExpiration,
|
||||||
oFixedPassphrase,
|
|
||||||
oLogFile,
|
oLogFile,
|
||||||
oNoLogFile,
|
oNoLogFile,
|
||||||
oAuditLog,
|
oAuditLog,
|
||||||
@ -332,7 +331,6 @@ static ARGPARSE_OPTS opts[] = {
|
|||||||
ARGPARSE_s_n (oDebugAllowCoreDump, "debug-allow-core-dump", "@"),
|
ARGPARSE_s_n (oDebugAllowCoreDump, "debug-allow-core-dump", "@"),
|
||||||
ARGPARSE_s_n (oDebugNoChainValidation, "debug-no-chain-validation", "@"),
|
ARGPARSE_s_n (oDebugNoChainValidation, "debug-no-chain-validation", "@"),
|
||||||
ARGPARSE_s_n (oDebugIgnoreExpiration, "debug-ignore-expiration", "@"),
|
ARGPARSE_s_n (oDebugIgnoreExpiration, "debug-ignore-expiration", "@"),
|
||||||
ARGPARSE_s_s (oFixedPassphrase, "fixed-passphrase", "@"),
|
|
||||||
|
|
||||||
ARGPARSE_s_i (oStatusFD, "status-fd",
|
ARGPARSE_s_i (oStatusFD, "status-fd",
|
||||||
N_("|FD|write status info to this FD")),
|
N_("|FD|write status info to this FD")),
|
||||||
@ -1264,7 +1262,6 @@ main ( int argc, char **argv)
|
|||||||
break;
|
break;
|
||||||
case oDebugNoChainValidation: opt.no_chain_validation = 1; break;
|
case oDebugNoChainValidation: opt.no_chain_validation = 1; break;
|
||||||
case oDebugIgnoreExpiration: opt.ignore_expiration = 1; break;
|
case oDebugIgnoreExpiration: opt.ignore_expiration = 1; break;
|
||||||
case oFixedPassphrase: opt.fixed_passphrase = pargs.r.ret_str; break;
|
|
||||||
|
|
||||||
case oStatusFD: ctrl.status_fd = pargs.r.ret_int; break;
|
case oStatusFD: ctrl.status_fd = pargs.r.ret_int; break;
|
||||||
case oLoggerFD: log_set_fd (pargs.r.ret_int ); break;
|
case oLoggerFD: log_set_fd (pargs.r.ret_int ); break;
|
||||||
|
@ -125,7 +125,6 @@ struct
|
|||||||
int no_policy_check; /* ignore certificate policies */
|
int no_policy_check; /* ignore certificate policies */
|
||||||
int no_chain_validation; /* Bypass all cert chain validity tests */
|
int no_chain_validation; /* Bypass all cert chain validity tests */
|
||||||
int ignore_expiration; /* Ignore the notAfter validity checks. */
|
int ignore_expiration; /* Ignore the notAfter validity checks. */
|
||||||
char *fixed_passphrase; /* Passphrase used by regression tests. */
|
|
||||||
|
|
||||||
int auto_issuer_key_retrieve; /* try to retrieve a missing issuer key. */
|
int auto_issuer_key_retrieve; /* try to retrieve a missing issuer key. */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user