diff options
author | Tobias Brunner <tobias@strongswan.org> | 2014-04-03 09:21:43 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2014-06-18 09:16:24 +0200 |
commit | 1cda692110f6853d6da2adae928881d67db94fa9 (patch) | |
tree | 4a1aff9fea1e85ce5f5ffd94a14250967991af4c /src/libstrongswan/plugins/sshkey/sshkey_plugin.c | |
parent | 97dafa16a0e671f8f0676de3e3704f0b7c6e2241 (diff) | |
download | strongswan-1cda692110f6853d6da2adae928881d67db94fa9.tar.bz2 strongswan-1cda692110f6853d6da2adae928881d67db94fa9.tar.xz |
sshkey: Add support to parse SSH public keys from files with left|rightsigkey
Diffstat (limited to 'src/libstrongswan/plugins/sshkey/sshkey_plugin.c')
-rw-r--r-- | src/libstrongswan/plugins/sshkey/sshkey_plugin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/sshkey/sshkey_plugin.c b/src/libstrongswan/plugins/sshkey/sshkey_plugin.c index 6409feaf1..1fde0c6e9 100644 --- a/src/libstrongswan/plugins/sshkey/sshkey_plugin.c +++ b/src/libstrongswan/plugins/sshkey/sshkey_plugin.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013 Tobias Brunner + * Copyright (C) 2013-2014 Tobias Brunner * Hochschule fuer Technik Rapperswil * * This program is free software; you can redistribute it and/or modify it @@ -44,6 +44,8 @@ METHOD(plugin_t, get_features, int, static plugin_feature_t f[] = { PLUGIN_REGISTER(PUBKEY, sshkey_public_key_load, FALSE), PLUGIN_PROVIDE(PUBKEY, KEY_ANY), + PLUGIN_REGISTER(CERT_DECODE, sshkey_certificate_load, FALSE), + PLUGIN_PROVIDE(CERT_DECODE, CERT_TRUSTED_PUBKEY), }; *features = f; return countof(f); |