diff options
author | Werner Koch <[email protected]> | 2004-02-20 13:46:21 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2004-02-20 13:46:21 +0000 |
commit | aa0e38982a2d220ecafb6f82b169c1e4897f9e29 (patch) | |
tree | d4afe59e3bace3e8949c95069d32091f4c1c706b /sm/gpgsm.c | |
parent | * protect-tool.c: New options --have-cert and --prompt. (diff) | |
download | gnupg-aa0e38982a2d220ecafb6f82b169c1e4897f9e29.tar.gz gnupg-aa0e38982a2d220ecafb6f82b169c1e4897f9e29.zip |
* gpgsm.c (main): New option --debug-ignore-expiration.
* certchain.c (gpgsm_validate_chain): Use it here.
* certlist.c (cert_usage_p): Apply extKeyUsage.
Diffstat (limited to '')
-rw-r--r-- | sm/gpgsm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c index ede432b1b..68214a6d8 100644 --- a/sm/gpgsm.c +++ b/sm/gpgsm.c @@ -89,6 +89,7 @@ enum cmd_and_opt_values { oDebugAll, oDebugWait, oDebugNoChainValidation, + oDebugIgnoreExpiration, oLogFile, oEnableSpecialFilenames, @@ -323,7 +324,8 @@ static ARGPARSE_OPTS opts[] = { { oDebugLevel, "debug-level" ,2, "@"}, { oDebugAll, "debug-all" ,0, "@"}, { oDebugWait, "debug-wait" ,1, "@"}, - { oDebugNoChainValidation, "debug-no-chain-validation" ,0, "@"}, + { oDebugNoChainValidation, "debug-no-chain-validation", 0, "@"}, + { oDebugIgnoreExpiration, "debug-ignore-expiration", 0, "@"}, { oStatusFD, "status-fd" ,1, N_("|FD|write status info to this FD") }, { aDummy, "no-comment", 0, "@"}, { aDummy, "completes-needed", 1, "@"}, @@ -991,6 +993,7 @@ main ( int argc, char **argv) case oDebugLevel: debug_level = pargs.r.ret_str; break; case oDebugWait: debug_wait = pargs.r.ret_int; break; case oDebugNoChainValidation: opt.no_chain_validation = 1; break; + case oDebugIgnoreExpiration: opt.ignore_expiration = 1; break; case oStatusFD: ctrl.status_fd = pargs.r.ret_int; break; case oLoggerFD: log_set_fd (pargs.r.ret_int ); break; |