Displaying 1 result from an estimated 1 matches for "sc_pkcs15_find_prkey_by_id_usag".
Did you mean:
sc_pkcs15_find_prkey_by_id_usage
2003 Jul 23
1
[Bug 621] scard-opensc.c: more than one private key object for a certificate
...you need
two copies of the key (one for signing and one for decryption).
Currently scard-opensc.c uses the sc_pkcs15_find_prkey_by_id function to get
the private key object (specified by the pkcs15 id) but this function returns
only the first private key object found. It would be better to use the
sc_pkcs15_find_prkey_by_id_usage function and search for a private key
with the desired capability (see attached patch).
Nils
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.