Am 10.11.19 um 14:35 schrieb Antonio Quartulli: > mbedtls_md_get_size() returns unsigned char, while EVP_MD_size() returns > int. Results coming from both functions are normally in a uint8_t member > of the key_type struct, because it is known that 8bits are enough (also > for EVP_MD_size()). > > This unexpected cast can, however, trigger unsolicited warnings. > Make the cast explicit by changing the return value of our crypto API. >
Not sure that this really needed but it also does not hurt, so Acked-By: Arne Schwabe <a...@rfc2549.org> Arne
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel