References: <20180402114436.13662-1-steffan@...1856...> From: Steffan Karger Message-ID: <67564450-1ed5-ae9f-cc18-2ce65bfac6e8@...1856...> Date: Sat, 6 Oct 2018 14:29:06 +0200 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Subject: Re: [Openvpn-devel] [PATCH v3] Improve management-external-key/cert error handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Selva Nair Cc: openvpn-devel Hi, On 03-04-18 04:53, Selva Nair wrote: > But I can't believe I missed this in the last round. This else clause > will now get executed not only if options->cert_file is false, but > also if its true and the call to tls_ctx_use_external_private_key() > succeeds! That would be wrong and is not what we want. Thanks for catching this before it went into master! For archiving purposes: this patch is no longer needed because it has been superseded by the refactoring in "Do not load certificate from tls_ctx_use_external_private_key()" (Message-Id: <1536916459-25900-1-git-send-email-steffan.karger@...1435...>). I'll register it like so in patchwork too. -Steffan