Date: Mon, 13 Dec 2021 22:01:20 +0100 (CET) Message-Id: <202112132101.1BDL1KIw089158@...2054...> From: Gert Doering In-Reply-To: <20211213150654.3993358-2-arne@...1227...> References: <20211213150654.3993358-2-arne@...1227...> Subject: [Openvpn-devel] [PATCH applied] Re: Remove md_kt_t and change crypto API to use const char* List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Arne Schwabe Cc: openvpn-devel@lists.sourceforge.net Acked-by: Gert Doering Exhaustive client- and server-side tests with OpenSSL 1.1.1, 3.0.0 and mbedTLS, on Linux and FreeBSD - nothing to complain about. Stare-at-code brought up the question on whether +static inline bool md_defined(const char* mdname) +{ + return strcmp(mdname, "none") != 0; +} should have a check for "mdname != NULL" - either ASSERT() or "return mdname != NULL && strcmp(mdname, "none") != 0" style. Since this works as is, I think, this can go to the followup patch cleaning up my complaints about 7/9 v4 :-) Your patch has been applied to the master branch. commit b39725cf811cbe9334355d4c90990047494a6cc2 Author: Arne Schwabe Date: Mon Dec 13 16:06:54 2021 +0100 Remove md_kt_t and change cyrpto API to use const char* Signed-off-by: Arne Schwabe Acked-by: Gert Doering Message-Id: <20211213150654.3993358-2-arne@...1227...> URL: https://www.mail-archive.com/search?l=mid&q=20211213150654.3993358-2-arne@...1227... Signed-off-by: Gert Doering -- kind regards, Gert Doering