summaryrefslogtreecommitdiff
path: root/cipherFactory.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-02-24 00:58:19 +0000
committerChristian Pointner <equinox@anytun.org>2008-02-24 00:58:19 +0000
commitad0cd81faf06c83b4e723b3d621e051756460bdd (patch)
treeb3bf42694839cfe7e5cb46ea7d1978306b2b2f18 /cipherFactory.cpp
parentdefault for key_derivation_rate now 1 (diff)
changed cipher option default value to aes-ctr
added option for key derivation, default is aes-ctr
Diffstat (limited to 'cipherFactory.cpp')
-rw-r--r--cipherFactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cipherFactory.cpp b/cipherFactory.cpp
index 4271600..5d7de85 100644
--- a/cipherFactory.cpp
+++ b/cipherFactory.cpp
@@ -39,7 +39,7 @@ Cipher* CipherFactory::create(std::string const& type)
{
if( type == "null" )
return new NullCipher();
- else if( type == "aes" )
+ else if( type == "aes-ctr" )
return new AesIcmCipher();
else
throw std::invalid_argument("cipher not available");