aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/credentials/certificates
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-11-04 23:37:15 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-11-04 23:37:15 +0100
commit4c68a85a75f23a33623687847dcc5dcd2d761ff5 (patch)
treeb32fe600a59d87bd70aed24fe0b87309d679ae77 /src/libstrongswan/credentials/certificates
parentfef3b0b7fde0dc2e67c1ff790e3e968d721f2412 (diff)
downloadstrongswan-4c68a85a75f23a33623687847dcc5dcd2d761ff5.tar.bz2
strongswan-4c68a85a75f23a33623687847dcc5dcd2d761ff5.tar.xz
implemented path length constraint checkinf for IKEv2
Diffstat (limited to 'src/libstrongswan/credentials/certificates')
-rw-r--r--src/libstrongswan/credentials/certificates/x509.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstrongswan/credentials/certificates/x509.h b/src/libstrongswan/credentials/certificates/x509.h
index 6d3419546..a671ce220 100644
--- a/src/libstrongswan/credentials/certificates/x509.h
+++ b/src/libstrongswan/credentials/certificates/x509.h
@@ -24,7 +24,8 @@
#include <utils/enumerator.h>
#include <credentials/certificates/certificate.h>
-#define NO_PATH_LEN_CONSTRAINT -1
+#define X509_NO_PATH_LEN_CONSTRAINT -1
+#define X509_MAX_PATH_LEN 7
typedef struct x509_t x509_t;
typedef enum x509_flag_t x509_flag_t;