[pkg-opensc-commit] [libp11] 39/239: fix renaming destroy to release.

Eric Dorland eric at moszumanska.debian.org
Sat Oct 17 06:21:06 UTC 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository libp11.

commit 95557688612bf18bc8df336181112464d56ae2d1
Author: Andreas Jellinghaus <andreas at ionisiert.de>
Date:   Thu Sep 1 21:20:45 2005 +0000

    fix renaming destroy to release.
---
 src/p11_slot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/p11_slot.c b/src/p11_slot.c
index 85cff51..17e1239 100644
--- a/src/p11_slot.c
+++ b/src/p11_slot.c
@@ -44,7 +44,7 @@ PKCS11_enumerate_slots(PKCS11_CTX * ctx, PKCS11_SLOT ** slotp, unsigned int *cou
 	for (n = 0; n < nslots; n++) {
 		if (pkcs11_init_slot(ctx, &slots[n], slotid[n])) {
 			while (n--)
-				PKCS11_destroy_slot(ctx, slots + n);
+				PKCS11_release_slot(ctx, slots + n);
 			OPENSSL_free(slots);
 			return -1;
 		}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/libp11.git



More information about the pkg-opensc-commit mailing list