References: <20161129063843.14526-1-a@...2181...> From: Steffan Karger Message-ID: Date: Tue, 29 Nov 2016 20:40:11 +0100 MIME-Version: 1.0 In-Reply-To: <20161129063843.14526-1-a@...2181...> Subject: Re: [Openvpn-devel] [PATCH] reload CRL only if file was modified List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit To: openvpn-devel@lists.sourceforge.net Hi, One more thing. On 29-11-16 07:38, Antonio Quartulli wrote: > + if (!crl_file_inline) > + platform_stat(crl_file, &crl_stat); If platform_stat() fails, we now silently ignore the error and continue using the old CRL. I think using the old CRL is fine, but we should print a warning to tell the user so: if (!crl_file_inline && 0 != platform_stat(crl_file, &crl_stat)) msg (M_WARN, "WARNING: Failed to stat CRL file, using cached CRL."); -Steffan