aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-12-12 06:47:34 +0000
committerlloyd <[email protected]>2006-12-12 06:47:34 +0000
commitde43fade8c8a51fd548febedc942f29413b94eca (patch)
tree3660b0daf2d405576a3da3b67ffa36cc13c1c60b /include
parentd11da5514e3003f33c1c8986e3ce985ed8b74c81 (diff)
Remove a dependency on x509cert.h from x509_ext.cpp by moving the definition
of NO_CERT_PATH_LIMIT to enums.h
Diffstat (limited to 'include')
-rw-r--r--include/enums.h2
-rw-r--r--include/x509cert.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/include/enums.h b/include/enums.h
index 907b537a9..bc939aba1 100644
--- a/include/enums.h
+++ b/include/enums.h
@@ -99,6 +99,8 @@ enum Character_Set {
LATIN1_CHARSET
};
+static const u32bit NO_CERT_PATH_LIMIT = 0xFFFFFFF0;
+
}
#endif
diff --git a/include/x509cert.h b/include/x509cert.h
index f2d2cb425..9355a17d5 100644
--- a/include/x509cert.h
+++ b/include/x509cert.h
@@ -9,12 +9,11 @@
#include <botan/x509_obj.h>
#include <botan/x509_key.h>
#include <botan/datastor.h>
+#include <botan/enums.h>
#include <map>
namespace Botan {
-static const u32bit NO_CERT_PATH_LIMIT = 0xFFFFFFF0;
-
/*************************************************
* X.509 Certificate *
*************************************************/