Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: supply meaningful error for non-existing pathnames
If tlshd.conf had a non-exists pathname, the code would have a non-descriptive error: tlshd[64556]: open: No such file or directory Such error can happen when a filename specified had trailing spaces after the name of the file. Instead provide a more descriptive error such as: tlshd[64423]: server x509.certificate pathname "/root/server.crt " does not exist In hope that the administrator would notice the error or extra spaces or some other typos in the pathname. Addresses issue #59. Signed-off-by: Olga Kornievskaia <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
- Loading branch information