diff options
author | Martin Willi <martin@strongswan.org> | 2009-08-28 17:23:58 +0200 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-08-28 17:23:58 +0200 |
commit | 4593ef51fddee237dca08faafdd004ada18ef841 (patch) | |
tree | c8d3523386313198a098aeb74b698640a04a9236 /src/libstrongswan/plugins/pgp/pgp_plugin.c | |
parent | caf1af1d9ff37c9684dc72d453769d9d51deb879 (diff) | |
download | strongswan-4593ef51fddee237dca08faafdd004ada18ef841.tar.bz2 strongswan-4593ef51fddee237dca08faafdd004ada18ef841.tar.xz |
implemented PGP Secret-Key Packet parsing
Diffstat (limited to 'src/libstrongswan/plugins/pgp/pgp_plugin.c')
-rw-r--r-- | src/libstrongswan/plugins/pgp/pgp_plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/pgp/pgp_plugin.c b/src/libstrongswan/plugins/pgp/pgp_plugin.c index d31666b59..98f5c3356 100644 --- a/src/libstrongswan/plugins/pgp/pgp_plugin.c +++ b/src/libstrongswan/plugins/pgp/pgp_plugin.c @@ -60,6 +60,8 @@ plugin_t *plugin_create() (builder_constructor_t)pgp_public_key_builder); lib->creds->add_builder(lib->creds, CRED_PUBLIC_KEY, KEY_RSA, (builder_constructor_t)pgp_public_key_builder); + lib->creds->add_builder(lib->creds, CRED_PRIVATE_KEY, KEY_ANY, + (builder_constructor_t)pgp_private_key_builder); lib->creds->add_builder(lib->creds, CRED_PRIVATE_KEY, KEY_RSA, (builder_constructor_t)pgp_private_key_builder); |