From 688317517dc8909d786cffba8441434c4efb8c98 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sat, 25 Apr 2009 15:39:11 +0200 Subject: [PATCH] network plugin: Some fixed to get encryption up and running again. Wow, that was easy! --- src/network.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/network.c b/src/network.c index 1425629c..cc482150 100644 --- a/src/network.c +++ b/src/network.c @@ -68,12 +68,12 @@ /* * 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 @@ -226,7 +226,7 @@ typedef struct part_signature_sha256_s part_signature_sha256_t; * +---------------------------------------------------------------+ */ /* Minimum size */ -#define PART_ENCRYPTION_AES256_SIZE 44 +#define PART_ENCRYPTION_AES256_SIZE 42 struct part_encryption_aes256_s { part_header_t head; -- 2.30.2