diff options
-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> |