aboutsummaryrefslogtreecommitdiffstats
path: root/src/pki/commands/self.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2011-12-15 16:56:07 +0100
committerTobias Brunner <tobias@strongswan.org>2012-03-20 17:31:25 +0100
commit4bc4e8e17b5f6c00bc060376bfbd5dbd34e47d48 (patch)
tree096f172b2867233b6cdc9fdcbfac67a1ea09b267 /src/pki/commands/self.c
parentf29a4f1c647151abc4a74d3ec4f029272ec0ec53 (diff)
downloadstrongswan-4bc4e8e17b5f6c00bc060376bfbd5dbd34e47d48.tar.bz2
strongswan-4bc4e8e17b5f6c00bc060376bfbd5dbd34e47d48.tar.xz
Added support for iKEIntermediate flag to ipsec pki.
Diffstat (limited to 'src/pki/commands/self.c')
-rw-r--r--src/pki/commands/self.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pki/commands/self.c b/src/pki/commands/self.c
index c7788ff62..7852d8594 100644
--- a/src/pki/commands/self.c
+++ b/src/pki/commands/self.c
@@ -212,6 +212,10 @@ static int self()
{
flags |= X509_CLIENT_AUTH;
}
+ else if (streq(arg, "ikeIntermediate"))
+ {
+ flags |= X509_IKE_INTERMEDIATE;
+ }
else if (streq(arg, "crlSign"))
{
flags |= X509_CRL_SIGN;