Reset smart card state before reconnect. This fixes stability problems
when using smart cards in conjunction with RandR. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1561 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
f749dbfef4
commit
60e82d86ef
1
proto.h
1
proto.h
@ -314,6 +314,7 @@ void scard_lock(int lock);
|
||||
void scard_unlock(int lock);
|
||||
int scard_enum_devices(uint32 * id, char *optarg);
|
||||
void scardSetInfo(uint32 device, uint32 id, uint32 bytes_out);
|
||||
void scard_reset_state();
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
|
@ -351,6 +351,7 @@ static void
|
||||
rdesktop_reset_state(void)
|
||||
{
|
||||
rdp_reset_state();
|
||||
scard_reset_state();
|
||||
}
|
||||
|
||||
static RD_BOOL
|
||||
|
Loading…
Reference in New Issue
Block a user