SCardGetAttrib(): Fix bug in SCARD_ATTR_DEVICE_FRIENDLY_NAME
SCardGetAttrib(): Fix bug in SCARD_ATTR_DEVICE_FRIENDLY_NAME

Affect the real length _after_ checking the buffer is large enough.

Thanks to Rafael Ugalde Beriain for the bug report.


git-svn-id: f2d781e409b7e36a714fc884bb9b2fc5091ddd28@6653 0ce88b0d-b2fd-0310-8134-9614164e65ea

vicamo/pcsc-lite-android,vicamo/pcsc-lite-android,vicamo/pcsc-lite-android,vicamo/pcsc-lite-android,vicamo/pcsc-lite-android