mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02: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>
|
2004-01-28 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* iso7816.c (iso7816_manage_security_env): New.
|
* iso7816.c (iso7816_manage_security_env): New.
|
||||||
|
@ -73,9 +73,10 @@ reset_notify (ASSUAN_CONTEXT ctx)
|
|||||||
}
|
}
|
||||||
if (ctrl->app_ctx)
|
if (ctrl->app_ctx)
|
||||||
{
|
{
|
||||||
/* FIXME: close the application. */
|
int slot = ctrl->app_ctx->slot;
|
||||||
xfree (ctrl->app_ctx);
|
release_application (ctrl->app_ctx);
|
||||||
ctrl->app_ctx = NULL;
|
ctrl->app_ctx = NULL;
|
||||||
|
apdu_close_reader (slot);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user