aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-03-06 12:20:55 +0100
committerTobias Brunner <tobias@strongswan.org>2014-03-31 14:32:44 +0200
commit5119c5fe97428fdceac1f89b3c77a72cf5f10f3a (patch)
tree97edee36b5a7ea85bbc36b4a1bfd956d07289f80 /src
parent05240280540fbe9455661eea7a59cff943d7c7a3 (diff)
downloadstrongswan-5119c5fe97428fdceac1f89b3c77a72cf5f10f3a.tar.bz2
strongswan-5119c5fe97428fdceac1f89b3c77a72cf5f10f3a.tar.xz
x509: CERT_DECODE actually requires KEY_ANY
More specific decoders might still be needed, but the x509 plugin should not care which ones.
Diffstat (limited to 'src')
-rw-r--r--src/libstrongswan/plugins/x509/x509_plugin.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstrongswan/plugins/x509/x509_plugin.c b/src/libstrongswan/plugins/x509/x509_plugin.c
index 15fea7ee0..54bef7357 100644
--- a/src/libstrongswan/plugins/x509/x509_plugin.c
+++ b/src/libstrongswan/plugins/x509/x509_plugin.c
@@ -52,9 +52,7 @@ METHOD(plugin_t, get_features, int,
PLUGIN_REGISTER(CERT_DECODE, x509_cert_load, TRUE),
PLUGIN_PROVIDE(CERT_DECODE, CERT_X509),
PLUGIN_DEPENDS(HASHER, HASH_SHA1),
- PLUGIN_SDEPEND(PUBKEY, KEY_RSA),
- PLUGIN_SDEPEND(PUBKEY, KEY_ECDSA),
- PLUGIN_SDEPEND(PUBKEY, KEY_DSA),
+ PLUGIN_DEPENDS(PUBKEY, KEY_ANY),
PLUGIN_REGISTER(CERT_ENCODE, x509_ac_gen, FALSE),
PLUGIN_PROVIDE(CERT_ENCODE, CERT_X509_AC),