Fix bug in pkcs11-tool.c that prevented it from displaying CKA_DERIVE key usage for EC public keys
This commit is contained in:
parent
13f61eee7b
commit
0cb91fd68c
@ -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 = ", ";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user