[pkg-opensc-commit] [libp11] 182/239: Issue #15 Correction
Eric Dorland
eric at moszumanska.debian.org
Sat Oct 17 06:21:31 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 a3469ee5cfff1f5e97066038cdc270a6509b94e2
Author: Greg. A. <gautric at users.noreply.github.com>
Date: Tue Jan 20 21:46:41 2015 +0100
Issue #15 Correction
https://github.com/OpenSC/libp11/issues/15
---
src/p11_key.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/p11_key.c b/src/p11_key.c
index d338253..030149b 100644
--- a/src/p11_key.c
+++ b/src/p11_key.c
@@ -108,7 +108,7 @@ PKCS11_KEY *PKCS11_find_key_from_key(PKCS11_KEY * keyin)
/* We want to use all the keys, the above only returns count for private */
count = tpriv->nkeys;
if (count < 2) /* must be at least two key to have a match */
- return;
+ return NULL;
for (n = 0; n < count; n++, key++) {
kpriv = PRIVKEY(key);
if (keyin->isPrivate != key->isPrivate
--
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