X-Git-Url: https://git.syn-net.org/debian/?p=anytun.git;a=blobdiff_plain;f=src%2FauthAlgo.h;h=663962f1a6648b9940a46ffa52ff034f9e7aa351;hp=1c7fa1bfa0e37cc7b3108633db95d58f71aa3101;hb=ef0cacf2508418915d3f64b04003be3c13fed3cc;hpb=ece844834d2cecc028ce81ca283f5d441088580e diff --git a/src/authAlgo.h b/src/authAlgo.h index 1c7fa1b..663962f 100644 --- a/src/authAlgo.h +++ b/src/authAlgo.h @@ -11,7 +11,7 @@ * tunneling and relaying of packets of any protocol. * * - * Copyright (C) 2007-2009 Othmar Gsenger, Erwin Nindl, + * Copyright (C) 2007-2009 Othmar Gsenger, Erwin Nindl, * Christian Pointner * * This file is part of Anytun. @@ -76,7 +76,7 @@ public: void generate(KeyDerivation& kd, EncryptedPacket& packet); bool checkTag(KeyDerivation& kd, EncryptedPacket& packet); - static const u_int32_t DIGEST_LENGTH = 0; + static const uint32_t DIGEST_LENGTH = 0; }; #ifndef NO_CRYPT @@ -92,7 +92,7 @@ public: void generate(KeyDerivation& kd, EncryptedPacket& packet); bool checkTag(KeyDerivation& kd, EncryptedPacket& packet); - static const u_int32_t DIGEST_LENGTH = 20; + static const uint32_t DIGEST_LENGTH = 20; private: #ifndef USE_SSL_CRYPTO @@ -100,7 +100,7 @@ private: #else HMAC_CTX ctx_; #endif - + Buffer key_; }; #endif