From: Guus Sliepen Date: Sat, 11 May 2013 12:13:23 +0000 (+0200) Subject: Don't free ephemeral ECDH keys twice. X-Git-Tag: release-1.1pre8~48 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=d03dc91e27b31851f87351c03cfc9a43c1b06458;hp=d03dc91e27b31851f87351c03cfc9a43c1b06458;p=tinc Don't free ephemeral ECDH keys twice. ecdh_compute_shared() was changed to immediately delete the ephemeral key after the shared secret was computed. Therefore, the pointer to the ecdh_t struct should be zeroed so it won't be freed again when a struct sptps_t is freed. ---