summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 72be377)
raw | patch | inline | side by side (parent: 72be377)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 25 Apr 2009 13:39:11 +0000 (15:39 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 25 Apr 2009 13:39:11 +0000 (15:39 +0200) |
Wow, that was easy!
src/network.c | patch | blob | history |
diff --git a/src/network.c b/src/network.c
index 1425629c2b82600ff04d9f7c433deb2ead81dddb..cc482150ef3f0896599dfdb35f0f1e8697f988e4 100644 (file)
--- a/src/network.c
+++ b/src/network.c
/*
* Maximum size required for encryption / signing:
*
- * 44 bytes for the encryption header
+ * 42 bytes for the encryption header
* + 64 bytes for the username
* -----------
- * = 108 bytes
+ * = 106 bytes
*/
-#define BUFF_SIG_SIZE 108
+#define BUFF_SIG_SIZE 106
/*
* Private data types
* +---------------------------------------------------------------+
*/
/* Minimum size */
-#define PART_ENCRYPTION_AES256_SIZE 44
+#define PART_ENCRYPTION_AES256_SIZE 42
struct part_encryption_aes256_s
{
part_header_t head;