this patch is a hack, not production quality, and will not
be accepted by openssh. But a clean solution requires changes
in openssh, and that will not be easy.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1810 c6295689-39f2-0310-b995-f0e70906c6a9