summaryrefslogtreecommitdiff
path: root/src/keyDerivation.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-11-28 18:45:57 +0000
committerOthmar Gsenger <otti@anytun.org>2008-11-28 18:45:57 +0000
commitac2147483cfcbb6f01123d65e67b7bb363bddc8f (patch)
treed7812a08b15dbc54df6f97b7b64ae913972f309b /src/keyDerivation.cpp
parentsome more type cleanups and missig NOCRYPT defines (diff)
added some windows support (not working now)
try to build with following Options: NOCRYPT;NODAEMON;NOEXEC;NOPACKED;NOSYSLOG;NOROUTING;NOSIGNALCONTROLLER
Diffstat (limited to 'src/keyDerivation.cpp')
-rw-r--r--src/keyDerivation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keyDerivation.cpp b/src/keyDerivation.cpp
index 946943e..ed29fca 100644
--- a/src/keyDerivation.cpp
+++ b/src/keyDerivation.cpp
@@ -33,6 +33,7 @@
#include "log.h"
#include "keyDerivation.h"
#include "threadUtils.hpp"
+#include "datatypes.h"
#include <stdexcept>
#include <iostream>
@@ -43,7 +44,7 @@
#include "mpi.h"
#endif
-void KeyDerivation::setLogKDRate(const uint8_t log_rate)
+void KeyDerivation::setLogKDRate(const u_int8_t log_rate)
{
Lock lock(mutex_);
if( log_rate < 49 )