summaryrefslogtreecommitdiff
path: root/src/anytun.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-01-18 02:06:11 +0000
committerChristian Pointner <equinox@anytun.org>2009-01-18 02:06:11 +0000
commitf6d182bc21651b2040577754471db2d1870b54c0 (patch)
tree5332e33420c35f408c42a54e4b9c4bbbe8f84f63 /src/anytun.cpp
parentenabled 128,192 and 256 bit keys for cipher and key derivation (diff)
added passphrase support to key derivation
Diffstat (limited to 'src/anytun.cpp')
-rw-r--r--src/anytun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/anytun.cpp b/src/anytun.cpp
index 06113b2..a2d7f05 100644
--- a/src/anytun.cpp
+++ b/src/anytun.cpp
@@ -82,7 +82,7 @@ void createConnection(const PacketSourceEndpoint & remote_end, window_size_t seq
SeqWindow* seq = new SeqWindow(seqSize);
seq_nr_t seq_nr_=0;
KeyDerivation * kd = KeyDerivationFactory::create(gOpt.getKdPrf());
- kd->init(gOpt.getKey(), gOpt.getSalt());
+ kd->init(gOpt.getKey(), gOpt.getSalt(), gOpt.getPassphrase());
kd->setLogKDRate(gOpt.getLdKdr());
cLog.msg(Log::PRIO_NOTICE) << "added connection remote host " << remote_end;