From 3d174037c175e33b0b57c0639ab7440e9f5d6abc Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 19 Feb 2008 17:31:04 +0000 Subject: replaces cypher with cipher --- anytun.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'anytun.cpp') diff --git a/anytun.cpp b/anytun.cpp index 2a0ee07..2e03be3 100644 --- a/anytun.cpp +++ b/anytun.cpp @@ -40,11 +40,11 @@ #include "buffer.h" #include "plainPacket.h" #include "encryptedPacket.h" -#include "cypher.h" +#include "cipher.h" #include "keyDerivation.h" #include "authAlgo.h" #include "authTag.h" -#include "cypherFactory.h" +#include "cipherFactory.h" #include "authAlgoFactory.h" #include "signalController.h" #include "packetSource.h" @@ -125,7 +125,7 @@ void* sender(void* p) { ThreadParam* param = reinterpret_cast(p); - std::auto_ptr c(CypherFactory::create(param->opt.getCypher())); + std::auto_ptr c(CipherFactory::create(param->opt.getCipher())); std::auto_ptr a(AuthAlgoFactory::create(param->opt.getAuthAlgo()) ); PlainPacket plain_packet(1600); // TODO: fix me... mtu size @@ -220,7 +220,7 @@ void* receiver(void* p) { ThreadParam* param = reinterpret_cast(p); - std::auto_ptr c( CypherFactory::create(param->opt.getCypher()) ); + std::auto_ptr c( CipherFactory::create(param->opt.getCipher()) ); std::auto_ptr a( AuthAlgoFactory::create(param->opt.getAuthAlgo()) ); EncryptedPacket packet(1600); // TODO: dynamic mtu size @@ -318,7 +318,7 @@ bool initLibGCrypt() } // do NOT allocate a pool uof secure memory! Q@NINE? - // this is NOT thread safe! ?????????????????????????????????? + // this is NOT thread safe! ?????????????????????????????????? why secure memory???????? /* Allocate a pool of 16k secure memory. This also drops priviliges * on some systems. */ -- cgit v1.2.3