Hi, On 12/04/2021 19:46, Max Fillinger wrote: > In mbedtls, support for SSL renegotiation can be disabled at > compile-time. However, OpenVPN cannot be built with such a library > because it calls mbedtls_ssl_conf_renegotiation() to disable this > feature at runtime. This function doesn't exist when mbedtls was built > without support for SSL renegotiation. > > This commit fixes the build by ifdef'ing out the function call when > mbedtls was built without support for SSL renegotiation. > > Signed-off-by: Max Fillinger <maximilian.fillin...@foxcrypto.com>
Compile tested against mbedtls with and without this feature defined. Could see the error and it gets fixed when this patch is applied. By having a look at the mbedtls git history I could see this define exists since the library was under the polarssl namespace. Which means it is old enough for us to not worry about. Acked-by: Antonio Quartulli <anto...@openvpn.net> -- Antonio Quartulli _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel