projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
network plugin: Some fixed to get encryption up and running again.
[collectd.git]
/
src
/
network.c
diff --git
a/src/network.c
b/src/network.c
index
1425629
..
cc48215
100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-68,12
+68,12
@@
/*
* Maximum size required for encryption / signing:
*
/*
* Maximum size required for encryption / signing:
*
- * 4
4
bytes for the encryption header
+ * 4
2
bytes for the encryption header
* + 64 bytes for the username
* -----------
* + 64 bytes for the username
* -----------
- * = 10
8
bytes
+ * = 10
6
bytes
*/
*/
-#define BUFF_SIG_SIZE 10
8
+#define BUFF_SIG_SIZE 10
6
/*
* Private data types
/*
* Private data types
@@
-226,7
+226,7
@@
typedef struct part_signature_sha256_s part_signature_sha256_t;
* +---------------------------------------------------------------+
*/
/* Minimum size */
* +---------------------------------------------------------------+
*/
/* Minimum size */
-#define PART_ENCRYPTION_AES256_SIZE 4
4
+#define PART_ENCRYPTION_AES256_SIZE 4
2
struct part_encryption_aes256_s
{
part_header_t head;
struct part_encryption_aes256_s
{
part_header_t head;