diff options
author | Werner Koch <[email protected]> | 2002-04-12 18:55:05 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2002-04-12 18:55:05 +0000 |
commit | 7db161552c9b8c34f48c37b71867c8343c95adbd (patch) | |
tree | 9c57bcaee00842d09a358c22a4246e9d444d0c3a /scd/scdaemon.c | |
parent | * certlist.c (cert_usable_p): New. (diff) | |
download | gnupg-7db161552c9b8c34f48c37b71867c8343c95adbd.tar.gz gnupg-7db161552c9b8c34f48c37b71867c8343c95adbd.zip |
* scdaemon.c: New option --debug-sc N.
* card.c (card_open): set it here.
* card-p15.c (p15_prepare_key): Factored out common code from ...
(p15_sign, p15_decipher): here and made the decryption work the
regular way.
Diffstat (limited to 'scd/scdaemon.c')
-rw-r--r-- | scd/scdaemon.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scd/scdaemon.c b/scd/scdaemon.c index 92bccec9e..a6f18cc36 100644 --- a/scd/scdaemon.c +++ b/scd/scdaemon.c @@ -60,6 +60,7 @@ enum cmd_and_opt_values oDebug, oDebugAll, oDebugWait, + oDebugSC, oNoGreeting, oNoOptions, oHomedir, @@ -86,6 +87,7 @@ static ARGPARSE_OPTS opts[] = { { oDebug, "debug" ,4|16, N_("set debugging flags")}, { oDebugAll, "debug-all" ,0, N_("enable full debugging")}, { oDebugWait,"debug-wait",1, "@"}, + { oDebugSC, "debug-sc", 1, N_("N|set OpenSC debug level to N")}, { oNoDetach, "no-detach" ,0, N_("do not detach from the console")}, { oLogFile, "log-file" ,2, N_("use a log file for the server")}, @@ -344,6 +346,7 @@ main (int argc, char **argv ) case oDebug: opt.debug |= pargs.r.ret_ulong; break; case oDebugAll: opt.debug = ~0; break; case oDebugWait: debug_wait = pargs.r.ret_int; break; + case oDebugSC: opt.debug_sc = pargs.r.ret_int; break; case oOptions: /* config files may not be nested (silently ignore them) */ |