From: Kirill Isakov Date: Sun, 25 Jul 2021 07:23:27 +0000 (+0600) Subject: Cleanup and improve `tinc fsck`. X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=2a37712b0d3d5c441424cf1fac6c95f7c76cc709;hp=2a37712b0d3d5c441424cf1fac6c95f7c76cc709;p=tinc Cleanup and improve `tinc fsck`. - implement TODOs - fix an invalid warning: WARNING: public and private RSA keys do not match - use the same configuration reading & parsing logic as in tincd - read keys from all supported variables - auto fix a few more broken key configurations - fix a couple of rare memory leaks - add warnings for host variables in server config and vice versa - check duplicates for all configuration variables (not the first 50) - check_conffile had a stack-buffer-underflow with going before the start of the line ---