mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
(reset_notify): Release the application context and
close the reader.
This commit is contained in:
parent
b11106ebf0
commit
94c03c860e
@ -1,3 +1,8 @@
|
||||
2004-01-29 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* command.c (reset_notify): Release the application context and
|
||||
close the reader.
|
||||
|
||||
2004-01-28 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* iso7816.c (iso7816_manage_security_env): New.
|
||||
|
@ -73,9 +73,10 @@ reset_notify (ASSUAN_CONTEXT ctx)
|
||||
}
|
||||
if (ctrl->app_ctx)
|
||||
{
|
||||
/* FIXME: close the application. */
|
||||
xfree (ctrl->app_ctx);
|
||||
int slot = ctrl->app_ctx->slot;
|
||||
release_application (ctrl->app_ctx);
|
||||
ctrl->app_ctx = NULL;
|
||||
apdu_close_reader (slot);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user