diff options
Diffstat (limited to 'src/cipherFactory.cpp')
-rw-r--r-- | src/cipherFactory.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cipherFactory.cpp b/src/cipherFactory.cpp index 228b29b..b02e5bc 100644 --- a/src/cipherFactory.cpp +++ b/src/cipherFactory.cpp @@ -40,8 +40,10 @@ Cipher* CipherFactory::create(std::string const& type) { if( type == "null" ) return new NullCipher(); +#ifndef NOCRYPT else if( type == "aes-ctr" ) return new AesIcmCipher(); +#endif else throw std::invalid_argument("cipher not available"); } |