diff options
author | Werner Koch <wk@gnupg.org> | 2009-10-17 21:15:15 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2009-10-17 21:15:15 +0200 |
commit | d839e154d3a82f6f69d72ec909a89e9bc7648619 (patch) | |
tree | 9fe62dbc690e818c296a76b32778c4c54f10c222 /g13/g13.c | |
parent | 2009-10-16 Marcus Brinkmann <marcus@g10code.com> (diff) | |
download | gnupg2-d839e154d3a82f6f69d72ec909a89e9bc7648619.tar.xz gnupg2-d839e154d3a82f6f69d72ec909a89e9bc7648619.zip |
Removed audit.h cruft which forced us to link against libksba.
There is no need for an audit file.
Diffstat (limited to 'g13/g13.c')
-rw-r--r-- | g13/g13.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -123,8 +123,6 @@ static ARGPARSE_OPTS opts[] = { ARGPARSE_s_n (oNoLogFile, "no-log-file", "@"), ARGPARSE_s_i (oLoggerFD, "logger-fd", "@"), - ARGPARSE_s_s (oAuditLog, "audit-log", - N_("|FILE|write an audit log to FILE")), ARGPARSE_s_n (oDryRun, "dry-run", N_("do not make any changes")), ARGPARSE_s_s (oOptions, "options", N_("|FILE|read options from FILE")), @@ -350,7 +348,6 @@ main ( int argc, char **argv) int no_more_options = 0; int default_config =1; char *logfile = NULL; - char *auditlog = NULL; int greeting = 0; int nogreeting = 0; int debug_wait = 0; @@ -359,7 +356,6 @@ main ( int argc, char **argv) int nokeysetup = 0; enum cmd_and_opt_values cmd = 0; struct server_control_s ctrl; - estream_t auditfp = NULL; strlist_t recipients = NULL; /*mtrace();*/ @@ -526,8 +522,6 @@ main ( int argc, char **argv) case oLogFile: logfile = pargs.r.ret_str; break; case oNoLogFile: logfile = NULL; break; - case oAuditLog: auditlog = pargs.r.ret_str; break; - case oNoDetach: nodetach = 1; break; case oDebug: debug_value |= pargs.r.ret_ulong; break; @@ -750,15 +744,6 @@ main ( int argc, char **argv) if (!err) join_idle_task (); - /* Print the audit result if needed. */ - if (auditlog && auditfp) - { - /* audit_print_result (ctrl.audit, auditfp, 0); */ - /* audit_release (ctrl.audit); */ - ctrl.audit = NULL; - es_fclose (auditfp); - } - /* Cleanup. */ g13_exit (0); return 8; /*NOTREACHED*/ |