fix smartcard: SCardStatus unicode handling
authorBernhard Miklautz <bernhard.miklautz@thincast.com>
Thu, 14 Dec 2017 14:46:14 +0000 (15:46 +0100)
committerBernhard Miklautz <bernhard.miklautz@thincast.com>
Thu, 14 Dec 2017 14:46:14 +0000 (15:46 +0100)
commit5a1c0081c5ca08968f738750ec71cff1c2fafd7c
treedaa660abdd1ee8f835751dbd5b7406eae2114d57
parent94b35cb4f7d7bc272519c1a018c87d9ddbb897a4
fix smartcard: SCardStatus unicode handling

* fix StatusW_Call to rely and use SCardStatusW
* fix trace call in  StatusW_Call - needs to be called after the sizes
  are set
* unify SCardStatus functions for pcsc - let the internal function handle unicode directly

This fixes an issue with size calculations of SCardStatusW.
channels/smartcard/client/smartcard_operations.c
winpr/libwinpr/smartcard/smartcard_pcsc.c