Do not hardwire keys to KEY_RSA
authorReto Buerki <reet@codelabs.ch>
Wed, 30 Jan 2013 14:36:03 +0000 (15:36 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 19 Mar 2013 14:23:51 +0000 (15:23 +0100)
commit0063e03325157ac9f92b6ba033341734aa9ad647
treea202c8b0677acad130864bbccf619e52d41ad33e
parent38c1fd3cb147d78d5e83b0052c5283ee62f13ba8
Do not hardwire keys to KEY_RSA

Make the TKM private and public keys more easily extendable by
determining the associated key type dynamically.
src/charon-tkm/src/tkm/tkm_private_key.c
src/charon-tkm/src/tkm/tkm_public_key.c
src/charon-tkm/src/tkm/tkm_public_key.h