diff options
| author | Werner Koch <[email protected]> | 2007-11-26 11:00:39 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2007-11-26 11:00:39 +0000 |
| commit | 3d4ef0c814698381371c9d5563cf158950af896c (patch) | |
| tree | 4a85d8ece842de5243f281e644975a2050236332 /sm/gpgsm.c | |
| parent | New command GETAUDITLOG (diff) | |
| download | gnupg-3d4ef0c814698381371c9d5563cf158950af896c.tar.gz gnupg-3d4ef0c814698381371c9d5563cf158950af896c.zip | |
Add option --data to GETAUDITLOG command.
Return HTML formatted dummy output.
Diffstat (limited to 'sm/gpgsm.c')
| -rw-r--r-- | sm/gpgsm.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c index 7ed4372a2..9958a8138 100644 --- a/sm/gpgsm.c +++ b/sm/gpgsm.c @@ -1649,7 +1649,7 @@ main ( int argc, char **argv) case aVerify: { FILE *fp = NULL; - FILE *auditfp = NULL; + estream_t auditfp = NULL; set_binary (stdin); if (argc == 2 && opt.outfile) @@ -1661,7 +1661,7 @@ main ( int argc, char **argv) { audit_release (ctrl.audit); ctrl.audit = audit_new (); - auditfp = open_fwrite (auditlog); + auditfp = open_es_fwrite (auditlog); } if (!argc) @@ -1682,8 +1682,7 @@ main ( int argc, char **argv) if (fp && fp != stdout) fclose (fp); - if (auditfp && auditfp != stdout) - fclose (auditfp); + es_fclose (auditfp); } break; |
