summaryrefslogtreecommitdiffhomepage
path: root/includes.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2010-07-21 12:38:46 +0000
committerMatt Johnston <matt@ucc.asn.au>2010-07-21 12:38:46 +0000
commit4d050c34cb96d07bef509eb537cde21faa987dbb (patch)
treed516575e1dbb9976acce596e0b21061dc5de458c /includes.h
parenta8c28714cddd45cdaadcce2fef5cb0325500b33f (diff)
Use system libtomcrypt/libtommath if available. Doesn't currently
build due to clash in rsa_key identifier. --HG-- extra : convert_revision : c9a4726d1c89e17ee8e96801d1aaa8049216aae1
Diffstat (limited to 'includes.h')
-rw-r--r--includes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/includes.h b/includes.h
index 03cb1cf..571a3be 100644
--- a/includes.h
+++ b/includes.h
@@ -120,8 +120,14 @@
#include <libgen.h>
#endif
+#ifdef BUNDLED_LIBTOM
#include "libtomcrypt/src/headers/tomcrypt.h"
#include "libtommath/tommath.h"
+#else
+#include <tomcrypt.h>
+#include <tommath.h>
+#endif
+
#include "compat.h"
#include "fake-rfc2553.h"