Print

Print


@ccaffy commented on this pull request.



> @@ -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 or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1547#discussion_r759941920

########################################################################
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