projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Free ECDSA and RSA structures when freeing a connection_t.
[tinc]
/
src
/
connection.c
diff --git
a/src/connection.c
b/src/connection.c
index
62bfccb
..
956607c
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-69,6
+69,9
@@
void free_connection(connection_t *c) {
cipher_close(&c->outcipher);
digest_close(&c->outdigest);
+ ecdsa_free(&c->ecdsa);
+ rsa_free(&c->rsa);
+
if(c->hischallenge)
free(c->hischallenge);