diff options
-rw-r--r-- | anytun.cpp | 1 | ||||
-rw-r--r-- | keyDerivation.h | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -91,7 +91,6 @@ void createConnection(const std::string & remote_host, u_int16_t remote_port, Co seq_nr_t seq_nr_=0; KeyDerivation * kd = new KeyDerivation; kd->init(Buffer(key, sizeof(key)), Buffer(salt, sizeof(salt))); - kd->setLogKDRate(0); cLog.msg(Log::PRIO_NOTICE) << "added connection remote host " << remote_host << ":" << remote_port; ConnectionParam connparam ( (*kd), (*seq), seq_nr_, remote_host, remote_port); cl.addConnection(connparam,0); diff --git a/keyDerivation.h b/keyDerivation.h index 8776dd7..f660efa 100644 --- a/keyDerivation.h +++ b/keyDerivation.h @@ -51,7 +51,7 @@ typedef enum { class KeyDerivation { public: - KeyDerivation() : ld_kdr_(-1), master_salt_(0), cipher_(NULL) {}; + KeyDerivation() : ld_kdr_(0), master_salt_(0), cipher_(NULL) {}; virtual ~KeyDerivation(); void init(Buffer key, Buffer salt); |