Skip to content

Commit

Permalink
Fix bug in pkcs11-tool.c that prevented it from displaying CKA_DERIVE…
Browse files Browse the repository at this point in the history
… key usage for EC public keys
  • Loading branch information
mouse07410 authored and frankmorgner committed Apr 22, 2017
1 parent 13f61ee commit 0cb91fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/pkcs11-tool.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ", ";
}
Expand Down

0 comments on commit 0cb91fd

Please sign in to comment.