@ccaffy commented on this pull request.
In src/XrdTls/XrdTlsTempCA.cc:
> @@ -198,11 +209,17 @@ CRLSet::processFile(file_smart_ptr &fp, const std::string &fname) return false; } } + if(!m_atLeastOneValidCRLFound) + m_atLeastOneValidCRLFound = atLeastOneValidCRLFound;
I only modify the variable m_atLeastOneValidCRLFound
if this variable is false. So, once a valid CRL is found, the m_atLeastOneValidCRLFound
will be set to true and therefore will never be assigned anymore during the XrdTlsTempCA::Maintenance()
loop.
That way, we only enable CRL checking if there is at least one valid CRL found during the Maintenance run :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1