implemented RFC3110 key builder in a plugin, added generic DNSKEY RR parsing

This commit is contained in:
Martin Willi
2009-08-26 11:23:51 +02:00
parent 3addf4e937
commit 5ef478aaee
7 changed files with 360 additions and 0 deletions
+17
View File
@@ -309,6 +309,17 @@ AC_ARG_ENABLE(
pgp=true
)
AC_ARG_ENABLE(
[dnskey],
AS_HELP_STRING([--disable-dnskey],[disable DNS RR key decoding plugin. (default is NO).]),
[if test x$enableval = xyes; then
dnskey=true
else
dnskey=false
fi],
dnskey=true
)
AC_ARG_ENABLE(
[pem],
AS_HELP_STRING([--disable-pem],[disable PEM decoding plugin. (default is NO).]),
@@ -1222,6 +1233,10 @@ if test x$pgp = xtrue; then
libstrongswan_plugins=${libstrongswan_plugins}" pgp"
pluto_plugins=${pluto_plugins}" pgp"
fi
if test x$dnskey = xtrue; then
libstrongswan_plugins=${libstrongswan_plugins}" dnskey"
pluto_plugins=${pluto_plugins}" dnskey"
fi
if test x$pem = xtrue; then
libstrongswan_plugins=${libstrongswan_plugins}" pem"
pluto_plugins=${pluto_plugins}" pem"
@@ -1284,6 +1299,7 @@ AM_CONDITIONAL(USE_X509, test x$x509 = xtrue)
AM_CONDITIONAL(USE_PUBKEY, test x$pubkey = xtrue)
AM_CONDITIONAL(USE_PKCS1, test x$pkcs1 = xtrue)
AM_CONDITIONAL(USE_PGP, test x$pgp = xtrue)
AM_CONDITIONAL(USE_DNSKEY, test x$dnskey = xtrue)
AM_CONDITIONAL(USE_PEM, test x$pem = xtrue)
AM_CONDITIONAL(USE_HMAC, test x$hmac = xtrue)
AM_CONDITIONAL(USE_XCBC, test x$xcbc = xtrue)
@@ -1381,6 +1397,7 @@ AC_OUTPUT(
src/libstrongswan/plugins/pubkey/Makefile
src/libstrongswan/plugins/pkcs1/Makefile
src/libstrongswan/plugins/pgp/Makefile
src/libstrongswan/plugins/dnskey/Makefile
src/libstrongswan/plugins/pem/Makefile
src/libstrongswan/plugins/curl/Makefile
src/libstrongswan/plugins/ldap/Makefile