diff options
author | Martin Willi <martin@revosec.ch> | 2010-07-02 10:29:36 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-07-13 10:26:06 +0200 |
commit | 5db798c8e0534864412f6aa55b5ae6d2f82dcc7f (patch) | |
tree | a950f8dbe649047fa8145742be91e7487f379798 /src/pluto/x509.h | |
parent | 01bb70e4adfea9c8cbea3304df890cd8dac1bb41 (diff) | |
download | strongswan-5db798c8e0534864412f6aa55b5ae6d2f82dcc7f.tar.bz2 strongswan-5db798c8e0534864412f6aa55b5ae6d2f82dcc7f.tar.xz |
Charon uses a generic trunstchain length limit, not only for X509 certificates
Diffstat (limited to 'src/pluto/x509.h')
-rw-r--r-- | src/pluto/x509.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pluto/x509.h b/src/pluto/x509.h index e904618b3..3101724a6 100644 --- a/src/pluto/x509.h +++ b/src/pluto/x509.h @@ -26,6 +26,8 @@ #include "constants.h" #include "certs.h" +#define X509_MAX_PATH_LEN 7 + extern bool same_keyid(chunk_t a, chunk_t b); extern bool x509_check_signature(chunk_t tbs, chunk_t sig, int algorithm, certificate_t *issuer_cert); |