summaryrefslogtreecommitdiff
path: root/cipherFactory.cpp
diff options
context:
space:
mode:
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");