pkcs11: Search for private keys in a more generic way.
authorTobias Brunner <tobias@strongswan.org>
Wed, 2 Nov 2011 18:07:23 +0000 (19:07 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 2 Nov 2011 19:27:55 +0000 (20:27 +0100)
commit5d2fccf439de73d2e778beb2c1c43b8034019b72
tree0e3b24064189285762b792c35e8344ac8f0aa8e2
parent9e3b1e14955a2e9a2b71eed1bcc9076ae7019279
pkcs11: Search for private keys in a more generic way.

Also, don't extract the public key directly from the private key. Some
tokens actually do not return the public exponent (it's not required).
We have to find a different way to get the public key.
src/libstrongswan/plugins/pkcs11/pkcs11_private_key.c