diff options
author | Christian Pointner <equinox@anytun.org> | 2008-02-06 20:50:51 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2008-02-06 20:50:51 +0000 |
commit | 8e918fc821c36fe829e1f88578cade4eef90d531 (patch) | |
tree | 33a511c34710e460cf4a0e2edbe47ac8cdaa7df6 /anytun.cpp | |
parent | added wireshakr lua script for satp (diff) |
sorry for last ceckin :(
build works now
Diffstat (limited to 'anytun.cpp')
-rw-r--r-- | anytun.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -290,6 +290,10 @@ void* receiver(void* p) #define MIN_GCRYPT_VERSION "1.2.3" #define GCRYPT_SEC_MEM 32768 // 32k secure memory +// make libgcrypt thread safe +extern "C" { +GCRY_THREAD_OPTION_PTHREAD_IMPL; +} void initLibGCrypt() { @@ -328,12 +332,6 @@ void initLibGCrypt() } } - -// make libgcrypt thread safe -extern "C" { -GCRY_THREAD_OPTION_PTHREAD_IMPL; -} - int main(int argc, char* argv[]) { std::cout << "anytun - secure anycast tunneling protocol" << std::endl; |