X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fconnection.c;h=ee44e539acabadccf7a5818519a593eaec0b5495;hb=483c5dcfb43719e5fd50902641252e28a04fd74e;hp=9587819d03e3d8bedf04890b8ad3bc526b9631ac;hpb=f5dc136cfd7a3a195b75f7174722734e25f30fd9;p=tinc diff --git a/src/connection.c b/src/connection.c index 9587819d..ee44e539 100644 --- a/src/connection.c +++ b/src/connection.c @@ -69,7 +69,7 @@ void free_connection(connection_t *c) { cipher_close(&c->outcipher); digest_close(&c->outdigest); - ecdh_free(&c->ecdh); + sptps_stop(&c->sptps); ecdsa_free(&c->ecdsa); rsa_free(&c->rsa);