]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix compilation with older mbed TLS versions (mbedtls_tls_prf_types undefined)
authorArne Schwabe <arne@rfc2549.org>
Tue, 25 Aug 2020 04:16:47 +0000 (06:16 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 28 Aug 2020 13:12:40 +0000 (15:12 +0200)
commit136c5f015c3e7eceecc07a45655d5da5616e9131
treed21b1ddad579d0066fa17905061d474022b5cf54
parent5e19cc2c1bf22d44f10dc585ba69d48951dc7a86
Fix compilation with older mbed TLS versions (mbedtls_tls_prf_types undefined)

The usage of the new keying material methods was not properly guarded.

To avoid a number of ifdefs this commit uses a dummy struct and function.
When we eventually drop support for non-EKM mbed TLS version we can remove
these.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20200825041647.26235-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20812.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/ssl_mbedtls.c
src/openvpn/ssl_mbedtls.h