Fix initialisation of packet decryption context broken by commit 3308d13e7e3bf20cfeaf...
[oweals/tinc.git] / src / net_setup.c
index f41f952..94e25b6 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]);