summaryrefslogtreecommitdiff
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
commit4bdf1aa1eb8e4fb38a8b3f6693e110397712bf5e (patch)
treed516575e1dbb9976acce596e0b21061dc5de458c /includes.h
parent5d988e81d4474105f44fa846342d2f5eafd1acdb (diff)
downloaddropbear-4bdf1aa1eb8e4fb38a8b3f6693e110397712bf5e.tar.gz
Use system libtomcrypt/libtommath if available. Doesn't currently
build due to clash in rsa_key identifier.
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"