X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconnection.h;h=2d84aced1cdee1119a549dbc222800c7625b2d17;hp=20e00763c0a1d9881b15509b34061b0327b0bce0;hb=65d6f023c46ac3a087f59b60762f87c869783f21;hpb=efd21e232dced3225f119aeb7a585ebf55b7cf77 diff --git a/src/connection.h b/src/connection.h index 20e00763..2d84aced 100644 --- a/src/connection.h +++ b/src/connection.h @@ -26,6 +26,7 @@ #include "digest.h" #include "rsa.h" #include "splay_tree.h" +#include "sptps.h" #define OPTION_INDIRECT 0x0001 #define OPTION_TCPONLY 0x0002 @@ -73,11 +74,11 @@ typedef struct connection_t { rsa_t rsa; /* his public RSA key */ ecdsa_t ecdsa; /* his public ECDSA key */ - ecdsa_t ecdh; /* state for ECDH key exchange */ 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; + sptps_t sptps; int inmaclength; int outmaclength;