diff options
author | Othmar Gsenger <otti@anytun.org> | 2008-11-28 17:39:14 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2008-11-28 17:39:14 +0000 |
commit | 409d58d0b63a113b29d8ce7c75a70e6dbbb39e69 (patch) | |
tree | 27a2526d6fc3b4600f18572e77f9fb8890ccfb39 /src/authAlgo.cpp | |
parent | fixed datatypes (really using boost now) (diff) |
added compile time options NOCRYPT,NODAEMON,NOEXEC for easyier windows porting
moved crypto init functions to cryptinit.hpp and exec to sysexec.hpp (as this will be platform dependant)
Diffstat (limited to 'src/authAlgo.cpp')
-rw-r--r-- | src/authAlgo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/authAlgo.cpp b/src/authAlgo.cpp index 80ee3ba..ebd76d2 100644 --- a/src/authAlgo.cpp +++ b/src/authAlgo.cpp @@ -54,6 +54,7 @@ u_int32_t NullAuthAlgo::getMaxLength() return MAX_LENGTH_; } +#ifndef NOCRYPT //****** Sha1AuthAlgo ****** Sha1AuthAlgo::Sha1AuthAlgo() : ctx_(NULL) @@ -128,3 +129,5 @@ u_int32_t Sha1AuthAlgo::getMaxLength() { return MAX_LENGTH_; } +#endif + |