X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fconnection.h;h=d9340fdb8c5efade2cc56dff7889299b0de725e7;hb=0912276c6467aa3ee6f570b31245367319da572a;hp=4a9ef446220e556ba80bd948d9df6a1a58f27f2f;hpb=2c6b2d70e6640f39563ad7bb0aa0ba87f883848c;p=tinc diff --git a/src/connection.h b/src/connection.h index 4a9ef446..d9340fdb 100644 --- a/src/connection.h +++ b/src/connection.h @@ -78,10 +78,10 @@ typedef struct connection_t { #ifndef DISABLE_LEGACY rsa_t *rsa; /* his public RSA key */ - cipher_t *incipher; /* Cipher he will use to send data to us */ - cipher_t *outcipher; /* Cipher we will use to send data to him */ - digest_t *indigest; - digest_t *outdigest; + cipher_t incipher; /* Cipher he will use to send data to us */ + cipher_t outcipher; /* Cipher we will use to send data to him */ + digest_t indigest; + digest_t outdigest; uint64_t inbudget; uint64_t outbudget; #endif @@ -107,7 +107,7 @@ typedef struct connection_t { splay_tree_t *config_tree; /* Pointer to configuration tree belonging to him */ } connection_t; -extern list_t *connection_list; +extern list_t connection_list; extern connection_t *everyone; extern void init_connections(void);