projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use CFB mode for meta-connections to improve security.
[tinc]
/
src
/
connection.c
diff --git
a/src/connection.c
b/src/connection.c
index
fd7ae84
..
8966d65
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-91,6
+91,8
@@
void free_connection_partially(connection_t *c) {
c->outbufstart = 0;
c->last_ping_time = 0;
c->last_flushed_time = 0;
+ c->inbudget = 0;
+ c->outbudget = 0;
if(c->inctx) {
EVP_CIPHER_CTX_cleanup(c->inctx);