References: <1513246897-28171-1-git-send-email-steffan@...1856...> From: Arne Schwabe Message-ID: Date: Thu, 14 Dec 2017 12:05:52 +0100 MIME-Version: 1.0 In-Reply-To: <1513246897-28171-1-git-send-email-steffan@...1856...> Content-Language: de-DE Subject: Re: [Openvpn-devel] [PATCH] ssl_openssl: fix compiler warning by removing getbio() wrapper List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Steffan Karger Cc: "openvpn-devel@lists.sourceforge.net" Am 14.12.17 um 11:21 schrieb Steffan Karger: > An API change in openssl 1.1 made the BIO_METHOD * returned by BIO_f_ssl() > and BIO_s_mem() const, as well as the BIO_METHOD * argment of BIO_new() > const. This meant that our getbio() function would either have an API > inconsistent with 1.0 or 1.1. > > The wrapper was basically an ASSERT, so fix this by replacing the wrapper > with an ASSERT. > Looks good. The wrapper does also not add much clarity or otherwise functionality. Acked-by: Arne Schwabe