Fix initialisation of packet decryption context broken by commit 3308d13e7e3bf20cfeaf...
[oweals/tinc.git] / src / net_setup.c
index f41f9527df89d34d929dfdbec6676f35a10c546f..94e25b624035a2daba320ee8a392db7a568279b9 100644 (file)
@@ -588,8 +588,6 @@ void close_network_connections(void)
 
        if(myport) free(myport);
 
-       EVP_CIPHER_CTX_cleanup(&packet_ctx);
-
        for(i = 0; i < 4; i++)
                free(envp[i]);