[pkg-opensc-commit] [engine-pkcs11] 23/152: perform unload, so another load will work fine.
Eric Dorland
eric at moszumanska.debian.org
Mon Oct 19 03:11:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository engine-pkcs11.
commit 0982fd54f4f27dc4d03ad3456b9e565786d923ab
Author: Andreas Jellinghaus <andreas at ionisiert.de>
Date: Sun Oct 30 22:54:52 2005 +0000
perform unload, so another load will work fine.
---
src/engine_pkcs11.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/engine_pkcs11.c b/src/engine_pkcs11.c
index e093901..148a673 100644
--- a/src/engine_pkcs11.c
+++ b/src/engine_pkcs11.c
@@ -125,7 +125,7 @@ static char *get_pin(UI_METHOD * ui_method, void *callback_data, char *sc_pin, i
int pkcs11_finish(ENGINE * engine)
{
if (ctx) {
- PKCS11_CTX_free(ctx);
+ PKCS11_CTX_unload(ctx);
}
if (pin != NULL) {
OPENSSL_cleanse(pin, strlen(pin));
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/engine-pkcs11.git
More information about the pkg-opensc-commit
mailing list