Hi

This patch will remove the use of CKA_VALUE when trying to get the public key. 
There are no CKA_VALUE attribute for a public key... 
Now will the tests in pkcs11-tool function properly. The public key is now 
built from the CKA_MODULUS and CKA_PUBLIC_EXPONENT.

Prevents warnings like:

"warning: PKCS11 function C_GetAttributeValue(VALUE) failed: rv = 
CKR_ATTRIBUTE_TYPE_INVALID (0x12)"

Please apply this patch.

// Rickard Bondesson

Attachment: pkcs11.tool.get.public.key.patch
Description: Binary data

Attachment: PGP.sig
Description: PGP signature

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to