Try to fix 3428380 - session redirection broken in 1.7.0. We must not
call sizeof or strlen on a new dynamically allocated string. 



git-svn-id: https://rdesktop.svn.sourceforge.net/svnroot/rdesktop/rdesktop/trunk@1639 9cebe5d2-de03-4e0a-9b96-fbf3d975a676
Applied patch from Thomas Uhle which includes fixes
the license handling, this patch fixes bug 2817779.



git-svn-id: https://rdesktop.svn.sourceforge.net/svnroot/rdesktop/rdesktop/trunk@1642 9cebe5d2-de03-4e0a-9b96-fbf3d975a676
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: https://rdesktop.svn.sourceforge.net/svnroot/rdesktop/rdesktop/trunk@1643 9cebe5d2-de03-4e0a-9b96-fbf3d975a676
- Change licensestore to XDG directory ~/.local/share/rdesktop/licenses

- Added helper functions for SHA1 hash to hash the hostname used for
  licenses filename to hide information of what host user X connects 
  from in a infrastructure with NFS mounted home directories.



git-svn-id: https://rdesktop.svn.sourceforge.net/svnroot/rdesktop/rdesktop/trunk@1644 9cebe5d2-de03-4e0a-9b96-fbf3d975a676
Fixes commit r1643 which was not complete and broke the build
because of missing type.



git-svn-id: https://rdesktop.svn.sourceforge.net/svnroot/rdesktop/rdesktop/trunk@1645 9cebe5d2-de03-4e0a-9b96-fbf3d975a676
This patch fixes smartcard handle problems on 64bit version
of rdesktop, this is jsut a hack to fix the problem with
smartcard imlpementation temporarly due the smartcard impl.
really needs to be reimplement for a cleaner code and proper
handling.

- Ripped out the old magic scard handle code to be replaced
  with mappings the works on 64bit rdesktop.

- Added a handle map to support mapping between a 64bit handle
  and 32bit eg:  pcsclite <- 64bit-> rdesktop <- 32bit -> WTS server.

- Added handle mapping for the context handle to which old code didn't
  event respected at all eg. 64bit context handled truncated to 32bit.



git-svn-id: https://rdesktop.svn.sourceforge.net/svnroot/rdesktop/rdesktop/trunk@1646 9cebe5d2-de03-4e0a-9b96-fbf3d975a676
Added some meaning to a hardcoded value.



git-svn-id: https://rdesktop.svn.sourceforge.net/svnroot/rdesktop/rdesktop/trunk@1647 9cebe5d2-de03-4e0a-9b96-fbf3d975a676
Fixed issues with a too small buffer used for output of
sec_hash_sha1_16() which introduced crashes on solaris,
sha1 need 160bit output buffer.



git-svn-id: https://rdesktop.svn.sourceforge.net/svnroot/rdesktop/rdesktop/trunk@1648 9cebe5d2-de03-4e0a-9b96-fbf3d975a676
Fixes an invalid check for memory allocation.

git-svn-id: https://rdesktop.svn.sourceforge.net/svnroot/rdesktop/rdesktop/trunk@1649 9cebe5d2-de03-4e0a-9b96-fbf3d975a676
Fixes serious bug were output are aligned before all data is available.

git-svn-id: https://rdesktop.svn.sourceforge.net/svnroot/rdesktop/rdesktop/trunk@1650 9cebe5d2-de03-4e0a-9b96-fbf3d975a676
Adding forceOutAlignemnt(out, 8) which is just cosmetics.

Thanks goes to Arvo for his findings and provided patch of the 
bugs fixed in r1649, r1650 and this commit.



git-svn-id: https://rdesktop.svn.sourceforge.net/svnroot/rdesktop/rdesktop/trunk@1651 9cebe5d2-de03-4e0a-9b96-fbf3d975a676
Fixed some 64bit issues with openssl linkage.



git-svn-id: https://rdesktop.svn.sourceforge.net/svnroot/rdesktop/rdesktop/trunk@1652 9cebe5d2-de03-4e0a-9b96-fbf3d975a676
Adds 1 to data length for including the terminating null
character when sending clipboard data to rdp server.

This fixes issue were last character is missing in a
local copy then paste into server session.



git-svn-id: https://rdesktop.svn.sourceforge.net/svnroot/rdesktop/rdesktop/trunk@1653 9cebe5d2-de03-4e0a-9b96-fbf3d975a676

Bump up version to 1.7.1, updated ChangeLog



git-svn-id: https://rdesktop.svn.sourceforge.net/svnroot/rdesktop/rdesktop/trunk@1654 9cebe5d2-de03-4e0a-9b96-fbf3d975a676
Bump trunk version to 1.7.1post.



git-svn-id: https://rdesktop.svn.sourceforge.net/svnroot/rdesktop/rdesktop/trunk@1656 9cebe5d2-de03-4e0a-9b96-fbf3d975a676
Fixes a typo introduced in r1605.



git-svn-id: https://rdesktop.svn.sourceforge.net/svnroot/rdesktop/rdesktop/trunk@1657 9cebe5d2-de03-4e0a-9b96-fbf3d975a676
Run indentation script.


git-svn-id: https://rdesktop.svn.sourceforge.net/svnroot/rdesktop/rdesktop/trunk@1658 9cebe5d2-de03-4e0a-9b96-fbf3d975a676