summaryrefslogtreecommitdiff
path: root/src/cryptinit.hpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2014-06-22 22:11:20 +0000
committerChristian Pointner <equinox@anytun.org>2014-06-22 22:11:20 +0000
commitf463e79addfe63297d4e44f9da49a30cc56b68c3 (patch)
treec1160efa35a3145715ef95e33d2cd0c76285f830 /src/cryptinit.hpp
parentimproved selection of crypto lib (diff)
added compile switches for libnettle
Diffstat (limited to 'src/cryptinit.hpp')
-rw-r--r--src/cryptinit.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cryptinit.hpp b/src/cryptinit.hpp
index e684a13..d57f19e 100644
--- a/src/cryptinit.hpp
+++ b/src/cryptinit.hpp
@@ -114,6 +114,8 @@ bool initCrypto()
#if defined(USE_SSL_CRYPTO)
return true;
+#elif defined(USE_NETTLE)
+ return true;
#else // USE_GCRYPT is the default
return initLibGCrypt();
#endif