projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace pointers to cipher_t/digest_t in connection_t with structs.
[tinc]
/
src
/
connection.c
diff --git
a/src/connection.c
b/src/connection.c
index
0c5e7ef
..
7d27e70
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-63,10
+63,10
@@
void free_connection(connection_t *c) {
}
#ifndef DISABLE_LEGACY
}
#ifndef DISABLE_LEGACY
- cipher_close(c->incipher);
- digest_close(c->indigest);
- cipher_close(c->outcipher);
- digest_close(c->outdigest);
+ cipher_close(
&
c->incipher);
+ digest_close(
&
c->indigest);
+ cipher_close(
&
c->outcipher);
+ digest_close(
&
c->outdigest);
rsa_free(c->rsa);
#endif
rsa_free(c->rsa);
#endif