summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a2bf02b)
raw | patch | inline | side by side (parent: a2bf02b)
author | Florian Forster <octo@huhu.verplant.org> | |
Wed, 6 May 2009 09:23:17 +0000 (11:23 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 6 May 2009 09:23:17 +0000 (11:23 +0200) |
This only happened if debugging was enabled.
src/network.c | patch | blob | history |
diff --git a/src/network.c b/src/network.c
index 274d2d8248c66d46a3bfc992a87007ea13d6f68e..0a74a1903cc4fc52ddbd0e1022c0ca8c2ebedf69 100644 (file)
--- a/src/network.c
+++ b/src/network.c
gcry_error_t err;
gcry_cipher_hd_t cypher;
- DEBUG ("network plugin: networt_send_buffer_encrypted: "
- "buffer_size = %zu;", buffer_size);
-
/* Initialize the header fields */
memset (&pea, 0, sizeof (pea));
pea.head.type = htons (TYPE_ENCR_AES256);
- sizeof (pea.hash);
assert (buffer_size <= sizeof (buffer));
+ DEBUG ("network plugin: networt_send_buffer_encrypted: "
+ "buffer_size = %zu;", buffer_size);
pea.head.length = htons ((uint16_t) (PART_ENCRYPTION_AES256_SIZE
+ username_len + in_buffer_size));