diff options
author | Othmar Gsenger <otti@anytun.org> | 2008-11-28 17:39:14 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2008-11-28 17:39:14 +0000 |
commit | 409d58d0b63a113b29d8ce7c75a70e6dbbb39e69 (patch) | |
tree | 27a2526d6fc3b4600f18572e77f9fb8890ccfb39 /src/cipher.h | |
parent | fixed datatypes (really using boost now) (diff) |
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)
Diffstat (limited to 'src/cipher.h')
-rw-r--r-- | src/cipher.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cipher.h b/src/cipher.h index f590aef..d402bce 100644 --- a/src/cipher.h +++ b/src/cipher.h @@ -70,6 +70,7 @@ protected: u_int32_t decipher(u_int8_t* in, u_int32_t ilen, u_int8_t* out, u_int32_t olen, seq_nr_t seq_nr, sender_id_t sender_id, mux_t mux); }; +#ifndef NOCRYPT //****** AesIcmCipher ****** class AesIcmCipher : public Cipher @@ -90,6 +91,6 @@ private: gcry_cipher_hd_t cipher_; Buffer salt_; }; - +#endif #endif |