implemented a pgp plugin providing PGP key parsing builders

This commit is contained in:
Martin Willi
2009-08-26 11:23:50 +02:00
parent 4e3d1e804e
commit 9493dd2ce0
7 changed files with 610 additions and 0 deletions
+17
View File
@@ -298,6 +298,17 @@ AC_ARG_ENABLE(
pkcs1=true
)
AC_ARG_ENABLE(
[pgp],
AS_HELP_STRING([--disable-pkcs],[disable PGP key decoding plugin. (default is NO).]),
[if test x$enableval = xyes; then
pgp=true
else
pgp=false
fi],
pgp=true
)
AC_ARG_ENABLE(
[pem],
AS_HELP_STRING([--disable-pem],[disable PEM decoding plugin. (default is NO).]),
@@ -1207,6 +1218,10 @@ if test x$pkcs1 = xtrue; then
libstrongswan_plugins=${libstrongswan_plugins}" pkcs1"
pluto_plugins=${pluto_plugins}" pkcs1"
fi
if test x$pgp = xtrue; then
libstrongswan_plugins=${libstrongswan_plugins}" pgp"
pluto_plugins=${pluto_plugins}" pgp"
fi
if test x$pem = xtrue; then
libstrongswan_plugins=${libstrongswan_plugins}" pem"
pluto_plugins=${pluto_plugins}" pem"
@@ -1268,6 +1283,7 @@ AM_CONDITIONAL(USE_RANDOM, test x$random = xtrue)
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_PEM, test x$pem = xtrue)
AM_CONDITIONAL(USE_HMAC, test x$hmac = xtrue)
AM_CONDITIONAL(USE_XCBC, test x$xcbc = xtrue)
@@ -1364,6 +1380,7 @@ AC_OUTPUT(
src/libstrongswan/plugins/x509/Makefile
src/libstrongswan/plugins/pubkey/Makefile
src/libstrongswan/plugins/pkcs1/Makefile
src/libstrongswan/plugins/pgp/Makefile
src/libstrongswan/plugins/pem/Makefile
src/libstrongswan/plugins/curl/Makefile
src/libstrongswan/plugins/ldap/Makefile