diff options
author | Christian Pointner <equinox@anytun.org> | 2008-02-24 00:45:34 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2008-02-24 00:45:34 +0000 |
commit | 24ffb4132394099e293bd49ce5c819fed58c7027 (patch) | |
tree | cc063dc3d3fc9e83903bda803dca35536c7f7d38 | |
parent | bugfix@ sender and receiver reset packet size at begin of loop (diff) |
default for key_derivation_rate now 1
mind the debug output @ sender
-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); |