Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
CRL loading fails due to incorrect return code check #5040
When specifying a CRL through the
The reason for this error message is that
I found this bug in Icinga 2.4, but it is still present in the current master branch.
Don't bother fixing this bug. I already have a patch and will submit a pull request shortly. This issue is only for tracking the bug.
The code for loading CRLs was incorrectly assuming that OpenSSL's X509_LOOKUP_load_file function returns zero on success, but actually it returns one on success. This commit fixes this return code check so that a CRL can be loaded.