projects
/
anytun.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 0.3.4
[anytun.git]
/
src
/
authAlgo.h
diff --git
a/src/authAlgo.h
b/src/authAlgo.h
index
1c7fa1b
..
663962f
100644
(file)
--- a/
src/authAlgo.h
+++ b/
src/authAlgo.h
@@
-11,7
+11,7
@@
* tunneling and relaying of packets of any protocol.
*
*
* 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 <satp@wirdorange.org>
*
* This file is part of Anytun.
* Christian Pointner <satp@wirdorange.org>
*
* This file is part of Anytun.
@@
-76,7
+76,7
@@
public:
void generate(KeyDerivation& kd, EncryptedPacket& packet);
bool checkTag(KeyDerivation& kd, EncryptedPacket& packet);
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
};
#ifndef NO_CRYPT
@@
-92,7
+92,7
@@
public:
void generate(KeyDerivation& kd, EncryptedPacket& packet);
bool checkTag(KeyDerivation& kd, EncryptedPacket& packet);
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
private:
#ifndef USE_SSL_CRYPTO
@@
-100,7
+100,7
@@
private:
#else
HMAC_CTX ctx_;
#endif
#else
HMAC_CTX ctx_;
#endif
-
+
Buffer key_;
};
#endif
Buffer key_;
};
#endif