diff options
author | Martin Willi <martin@revosec.ch> | 2012-02-29 16:09:11 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2012-05-02 14:05:52 +0200 |
commit | 0c7af2ce27cfa8aa3a1e43d6c34afe21ce0638b1 (patch) | |
tree | 89652549aa48b63064399de625bd5a81ec8016fe /src/libstrongswan/plugins/x509/x509_plugin.c | |
parent | 4b5e637472b762954a3247190c02258cdf9487d1 (diff) | |
download | strongswan-0c7af2ce27cfa8aa3a1e43d6c34afe21ce0638b1.tar.bz2 strongswan-0c7af2ce27cfa8aa3a1e43d6c34afe21ce0638b1.tar.xz |
Certificate decoding soft-depends on public key decoding of specific types
Diffstat (limited to 'src/libstrongswan/plugins/x509/x509_plugin.c')
-rw-r--r-- | src/libstrongswan/plugins/x509/x509_plugin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/x509/x509_plugin.c b/src/libstrongswan/plugins/x509/x509_plugin.c index ed6fbfd91..15fea7ee0 100644 --- a/src/libstrongswan/plugins/x509/x509_plugin.c +++ b/src/libstrongswan/plugins/x509/x509_plugin.c @@ -52,6 +52,9 @@ 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_REGISTER(CERT_ENCODE, x509_ac_gen, FALSE), PLUGIN_PROVIDE(CERT_ENCODE, CERT_X509_AC), |