OpenSC/OpenSC — pull request #317 by CardContact (2014-11-03 15:20:50+00:00)
Title: Fix Lc byte in VERIFY PIN block for PC/SC PIN PAD reader

The SmartCard-HSM uses a variable-length PIN, whose length is indicated in Lc.

This patch changes the PC/SC PIN Block used for PIN PAD reader and removes the Lc byte, which is automatically added by the reader.

This patch partially fixes #309, however while PIN verification now works on Windows, PIN modify fails with this reader on Linux. The issue is related to a firmware bug confirmed by Identiv.