Commit Graph

15 Commits

Author SHA1 Message Date
Alexander Zakharov
85f99edd65 Update copyrights 2019-02-01 11:21:32 +03:00
Alexander Zakharov
774a657975 Handle insufficient server side buffer for smartcard operations
We should pay attention to OutputBufferLength of DR_CONTROL_REQ
and send STATUS_BUFFER_TOO_SMALL if it's insufficient for returned
result.
2019-01-23 16:12:21 +03:00
Henrik Andersson
761cc053e2 Fixes a bug with Windows Server 2012 r2 and smartcard
redirection were the RDPDR channel is shutdown by server.

The RDPDR channel is shutdown by server when responses from
abdonend iorequests are received on a reinitialized RDPDR
channel. This fix adds epochs for RDPDR channel and tags 
iorequest to specific epoch to handle abdonend iorequest.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1836 423420c4-83ab-492f-b58f-81f9feb106b5
2014-09-11 11:54:46 +00:00
Pierre Ossman
72dd2ac5be Do a proper parsing of the ReaderState structure. We did not
handle NULL szReader properly previously.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1723 423420c4-83ab-492f-b58f-81f9feb106b5
2013-07-05 11:44:03 +00:00
Henrik Andersson
0d98235f3f Fixes commit r1643 which was not complete and broke the build
because of missing type.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1645 423420c4-83ab-492f-b58f-81f9feb106b5
2011-11-22 10:31:30 +00:00
Henrik Andersson
aa517c7c39 pcsclite >= 1.6.2 does not include the type SCARD_READERSTATE_A which
breaks compilation, change code to use SCARD_READERSTATE which
is the new name and is also an typedef of the old SCARD_READERSTATE_A
from pcslite <1.9.2 versions.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1643 423420c4-83ab-492f-b58f-81f9feb106b5
2011-11-15 08:40:41 +00:00
Peter Åstrand
073b9726ff Indented
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1559 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-26 10:20:06 +00:00
Peter Åstrand
564175719c Need two more smart card prototypes, to avoid warnings.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1558 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-26 10:13:53 +00:00
Peter Åstrand
281d7c9f06 Changed license to GPLv3
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1534 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-12 08:31:06 +00:00
Michael Gernoth
5c01b88a5f Smartcard fixes (bigendian support, locking, bugfixes) from
Paul Winder <Paul.Winder@tadpole.com>


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1420 423420c4-83ab-492f-b58f-81f9feb106b5
2007-10-30 13:09:37 +00:00
Pierre Ossman
02820036e6 Solaris doesn't have stdint.h, but most of the stuff in it can be found
int inttypes.h.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1417 423420c4-83ab-492f-b58f-81f9feb106b5
2007-09-18 06:46:39 +00:00
Michael Gernoth
ce8fe4d0e4 RD_ prefix
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1366 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-04 14:38:48 +00:00
Michael Gernoth
6b574d2ca7 add normal rdesktop-header to smartcard-files
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1311 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-01 21:26:55 +00:00
Michael Gernoth
ae67d3e759 Add smartcard support for mac os x
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1310 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-01 21:23:08 +00:00
Michael Gernoth
f37c871e8b Smartcard support by Alexi Volkov <alexi@pravex.kiev.ua> and additional
patches for smartcard-support by Jennings Jared <jared.jennings.ctr@eglin.af.mil>


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1308 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-01 20:52:01 +00:00