[pkg-opensc-commit] [opensc] 242/295: Fix bug in pkcs11-tool.c that prevented it from displaying CKA_DERIVE key usage for EC public keys
Eric Dorland
eric at moszumanska.debian.org
Sat Jun 24 21:11:36 UTC 2017
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository opensc.
commit 0cb91fd68c61b53411659f8e167240d339c75710
Author: Mouse <mouse008 at gmail.com>
Date: Thu Apr 20 20:54:06 2017 -0400
Fix bug in pkcs11-tool.c that prevented it from displaying CKA_DERIVE key usage for EC public keys
---
src/tools/pkcs11-tool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tools/pkcs11-tool.c b/src/tools/pkcs11-tool.c
index c43c447..5037382 100644
--- a/src/tools/pkcs11-tool.c
+++ b/src/tools/pkcs11-tool.c
@@ -3369,7 +3369,7 @@ show_key(CK_SESSION_HANDLE sess, CK_OBJECT_HANDLE obj)
printf("%sunwrap", sepa);
sepa = ", ";
}
- if ((!pub || sec) && getDERIVE(sess, obj)) {
+ if (getDERIVE(sess, obj)) {
printf("%sderive", sepa);
sepa = ", ";
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/opensc.git
More information about the pkg-opensc-commit
mailing list