Hi, On Tue, Aug 10, 2021 at 08:16:44AM +0200, Max Fillinger wrote: > The function mbedtls_ctr_drbg_update is deprecated as of mbedtls 2.16 > and is superseded by mbedtls_ctr_drbg_update_ret, which returns an error > code. This commit replaces the call to the deprecated function with the > new one and logs a warning in case of an error. > > For older versions of mbedtls, we add a compatibility function that runs > mbedtls_ctr_drbg_update and returns 0.
For the record, this breaks 2.14.*1* - which does have this function, and the static-vs-non-static prototyping causes a compile error. So, followup patch needed. 2.14.0 does not have it, and from what I understand, 2.15.x does not have it either. But maybe we do not care for 2.15 gert -- "If was one thing all people took for granted, was conviction that if you feed honest figures into a computer, honest figures come out. Never doubted it myself till I met a computer with a sense of humor." Robert A. Heinlein, The Moon is a Harsh Mistress Gert Doering - Munich, Germany g...@greenie.muc.de
signature.asc
Description: PGP signature
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel