From 409d58d0b63a113b29d8ce7c75a70e6dbbb39e69 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Fri, 28 Nov 2008 17:39:14 +0000 Subject: added compile time options NOCRYPT,NODAEMON,NOEXEC for easyier windows porting moved crypto init functions to cryptinit.hpp and exec to sysexec.hpp (as this will be platform dependant) --- src/cipherFactory.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cipherFactory.cpp') 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"); } -- cgit v1.2.3