aboutsummaryrefslogtreecommitdiffstats
path: root/src/pki/commands/self.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-12-15 16:42:30 +0100
committerMartin Willi <martin@revosec.ch>2011-01-05 16:46:02 +0100
commit5dba5852fcaa965cfc0adb0c2a756814af2c1885 (patch)
tree50de01ff770a68b75e00a00f867c532024bfa887 /src/pki/commands/self.c
parent3ffc9d9a881675df1f8403db625860fad328efd0 (diff)
downloadstrongswan-5dba5852fcaa965cfc0adb0c2a756814af2c1885.tar.bz2
strongswan-5dba5852fcaa965cfc0adb0c2a756814af2c1885.tar.xz
Slightly renamed X509_NO_PATH_LEN_CONSTRAINT to use it for PolicyConstraints, too
Diffstat (limited to 'src/pki/commands/self.c')
-rw-r--r--src/pki/commands/self.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pki/commands/self.c b/src/pki/commands/self.c
index 134231dca..72ade4946 100644
--- a/src/pki/commands/self.c
+++ b/src/pki/commands/self.c
@@ -56,7 +56,7 @@ static int self()
identification_t *id = NULL;
linked_list_t *san, *ocsp, *permitted, *excluded, *policies, *mappings;
int lifetime = 1095;
- int pathlen = X509_NO_PATH_LEN_CONSTRAINT;
+ int pathlen = X509_NO_CONSTRAINT;
chunk_t serial = chunk_empty;
chunk_t encoding = chunk_empty;
time_t not_before, not_after;