OpenSC/OpenSC — pull request #219 by nmav (2014-02-28 15:19:54+00:00)
Title: Call dlclose() only when having a valid handle.

This fixes issue where calling pks11-tool with a module that does not exist causes a segmentation fault.

Signed-off-by: Nikos Mavrogiannopoulos