diff options
author | Christian Pointner <equinox@anytun.org> | 2016-07-08 01:25:36 +0200 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2016-07-08 01:25:36 +0200 |
commit | d0f4a7fde394c3ff607f0f7e7a3b92b2fe1f6424 (patch) | |
tree | 94160e2c7ae6310604d8710dcf14b97f24e18b4d /src | |
parent | fixed init script (diff) |
fixed gcrypt warning for anytun-config
Diffstat (limited to 'src')
-rw-r--r-- | src/anytun-config.cpp | 3 | ||||
-rw-r--r-- | src/cryptinit.hpp | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/anytun-config.cpp b/src/anytun-config.cpp index ccdcc2c..1d2ff64 100644 --- a/src/anytun-config.cpp +++ b/src/anytun-config.cpp @@ -57,6 +57,7 @@ #include "networkAddress.h" #include "packetSource.h" #include "resolver.h" +#include "cryptinit.hpp" #include "syncQueue.h" #include "syncCommand.h" @@ -132,6 +133,8 @@ int main(int argc, char* argv[]) gResolver.init(); + initCrypto(); + ConnectionList cl; SyncQueue queue; diff --git a/src/cryptinit.hpp b/src/cryptinit.hpp index 663ba0a..17bb825 100644 --- a/src/cryptinit.hpp +++ b/src/cryptinit.hpp @@ -48,6 +48,8 @@ #ifndef NO_CRYPT +#include "anytunError.h" + #if defined(USE_GCRYPT) #include <gcrypt.h> |