OpenSC fork, with some Italian healthcare smart card utils
Go to file
Maciej S. Szmigiero 294c232ca9 Minidriver card reinitialization cleanup
In minidriver before performing a card operation we currently check whether
the supplied card handles have changed.
If they did the card in reader might have been changed so we reinitialize
it.

However, in few places in reinitialization call path an error returned by
some operation would leave the context in an inconsistent state.

So let's walk through this path to make sure that functions there will exit
cleanly if an error happens.

Also, make sure that all card operations that actually do something have
the necessary check call in the first place and also that they all
consistently check whether VENDOR_SPECIFIC pointer is not NULL before
dereferencing it.

This is a cleanup part of "Keep track of card resets by other contexts in
minidriver" (that is, it does not include the actual reset handling code
introduced by that commit), simplified.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
2017-10-16 14:56:01 +02:00
.github use a better issue template 2017-07-18 22:32:10 +02:00
MacOSX sc-hsm: Add support for SoC 2017-05-22 16:25:08 +02:00
doc Enable RSA-PSS signatures in pkcs11-tool (#1146) 2017-09-21 11:19:22 +02:00
etc documentation for ignore_private_certificate parameter. 2017-08-02 11:23:43 +02:00
m4 correctly include pthread flags 2017-03-14 22:44:19 +01:00
packaging/debian.templates fix LGPL version 2013-09-29 20:55:41 +02:00
solaris Thomas Uhle: modify Makefile so configure finds the include files 2009-12-03 07:05:15 +00:00
src Minidriver card reinitialization cleanup 2017-10-16 14:56:01 +02:00
win32 md: added CNS ATR (#1166) 2017-10-16 09:25:34 +02:00
.gitignore Added (external) card driver for German ID card 2017-03-20 21:28:48 +01:00
.travis.yml sc-hsm: Add support for SoC 2017-05-22 16:25:08 +02:00
COPYING - changed license to LGPL 2001-11-06 18:34:19 +00:00
Makefile.am build: bootstrap script has expected content 2014-05-11 09:15:27 +02:00
Makefile.mak fixed and cleaned up nmake Makefiles 2016-06-23 07:35:53 +02:00
NEWS fixed date of 0.17.0 in NEWS 2017-07-19 09:31:54 +02:00
README link README to README.md 2015-11-02 23:54:36 +01:00
README.md Use "native" badges 2016-01-22 18:42:10 +02:00
appveyor.yml win32: switch back to OpenSSL 1.0.2 as default 2017-08-04 08:44:41 +02:00
bootstrap build: bootstrap script has expected content 2014-05-11 09:15:27 +02:00
bootstrap.ci tools: print package revision 2016-03-04 14:16:06 +01:00
configure.ac win32: Dedicated md/pkcs11 installation folders 2017-08-22 23:41:29 +02:00
version.m4 tools: print package revision 2016-03-04 14:16:06 +01:00

README.md

OpenSC documentation

Wiki is available online

Please take a look at the documentation before trying to use OpenSC.

Travis CI Build Status AppVeyor CI Build Status Coverity Scan Status