X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fconnection.h;h=2426a2204c6418a828b31770ff22b17c78b9f8c4;hb=40731d030fef793c6b6405efd9b3e64c26c00045;hp=e5cd68950de4eb3d49ac9b2602647f280c9808a1;hpb=465837dd7f7b727d489b354e4b75489dd49fd6e3;p=tinc diff --git a/src/connection.h b/src/connection.h index e5cd6895..2426a220 100644 --- a/src/connection.h +++ b/src/connection.h @@ -23,12 +23,11 @@ #ifndef __TINC_CONNECTION_H__ #define __TINC_CONNECTION_H__ -//#include +#include #include #include -#include "rsa.h" #include "splay_tree.h" #define OPTION_INDIRECT 0x0001 @@ -73,8 +72,7 @@ typedef struct connection_t { struct node_t *node; /* node associated with the other end */ struct edge_t *edge; /* edge associated with this connection */ - //RSA *rsa_key; /* his public/private key */ - struct rsa_key_t rsa_key; /* his public/private key */ + RSA *rsa_key; /* his public/private key */ const EVP_CIPHER *incipher; /* Cipher he will use to send data to us */ const EVP_CIPHER *outcipher; /* Cipher we will use to send data to him */ EVP_CIPHER_CTX *inctx; /* Context of encrypted meta data that will come from him to us */