In the 9.17.19 release "tls" statements verification code was added. The code was too strict and assumed that every such a statement should have both "cert-file" and "key-file" specified. This turned out to be a regression, as in some cases we plan to use the "tls" statement to specify TLS connection parameters.
This commit fixes this behaviour; now a "tls" statement should either have both "cert-file" and "key-file" specified, or both should be omitted.
The issue was mentioned mentioned in #2986 (closed):
Another issue that got me a bit confused is that on the
tlssection of the configuration file, the parameters
key-filenow seem to required, which wasn't the case in the previous version.