diff options
author | Werner Koch <[email protected]> | 2009-07-16 15:54:59 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2009-07-16 15:54:59 +0000 |
commit | e49d808e1f02d8f01c60753022bc20664b215062 (patch) | |
tree | dd65f9e2f0eb20d949e56852c22ee3cb0aba31a9 /scd/scdaemon.c | |
parent | [g10] (diff) | |
download | gnupg-e49d808e1f02d8f01c60753022bc20664b215062.tar.gz gnupg-e49d808e1f02d8f01c60753022bc20664b215062.zip |
Add code to better handle unplugging of a reader.
Diffstat (limited to '')
-rw-r--r-- | scd/scdaemon.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scd/scdaemon.c b/scd/scdaemon.c index 49f09cf62..24cb346e6 100644 --- a/scd/scdaemon.c +++ b/scd/scdaemon.c @@ -48,6 +48,7 @@ #include "i18n.h" #include "sysutils.h" #include "app-common.h" +#include "apdu.h" #include "ccid-driver.h" #include "mkdtemp.h" #include "gc-opt-flags.h" @@ -858,6 +859,7 @@ main (int argc, char **argv ) void scd_exit (int rc) { + apdu_prepare_exit (); #if 0 #warning no update_random_seed_file update_random_seed_file(); |