summaryrefslogtreecommitdiff
path: root/src/cipher.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-01-18 23:31:33 +0000
committerChristian Pointner <equinox@anytun.org>2009-01-18 23:31:33 +0000
commita39dd07546ab48648021f03e87b2831ffaf50df8 (patch)
tree788b8db0b2dd4162318084739b863412b7a73612 /src/cipher.cpp
parentdoing replay protection before learning remote host (diff)
some cleanup
Diffstat (limited to 'src/cipher.cpp')
-rw-r--r--src/cipher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cipher.cpp b/src/cipher.cpp
index 3dc2314..46865ab 100644
--- a/src/cipher.cpp
+++ b/src/cipher.cpp
@@ -70,7 +70,7 @@ u_int32_t NullCipher::decipher(KeyDerivation& kd, u_int8_t* in, u_int32_t ilen,
return (ilen < olen) ? ilen : olen;
}
-#ifndef NOCRYPT
+#ifndef NO_CRYPT
//****** AesIcmCipher ******
AesIcmCipher::AesIcmCipher(kd_dir_t d) : Cipher(d), key_(u_int32_t(DEFAULT_KEY_LENGTH/8)), salt_(u_int32_t(SALT_LENGTH))