summaryrefslogtreecommitdiff
path: root/src/anytunError.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2014-06-22 23:09:15 +0000
committerChristian Pointner <equinox@anytun.org>2014-06-22 23:09:15 +0000
commitfac90fc49e667b18522b442ff15edd3bb8eb804b (patch)
tree7530b98b4b7c50f0512184e9a2369a0b196306a7 /src/anytunError.h
parentfixed typo in license header (diff)
parentimplemented key derivation using libnettle (diff)
merged nettle featuer branch to trunk
Diffstat (limited to 'src/anytunError.h')
-rw-r--r--src/anytunError.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/anytunError.h b/src/anytunError.h
index b1077cd..b8ad49e 100644
--- a/src/anytunError.h
+++ b/src/anytunError.h
@@ -40,7 +40,8 @@
#define STERROR_TEXT_MAX 200
#ifndef NO_CRYPT
-#ifndef USE_SSL_CRYPTO
+
+#if defined(USE_GCRYPT)
#include <gcrypt.h>
class AnytunGpgError
@@ -51,6 +52,7 @@ public:
};
std::ostream& operator<<(std::ostream& stream, AnytunGpgError const& value);
#endif
+
#endif
class AnytunErrno