]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix compilation on pre-EKM mbedTLS libraries.
authorGert Doering <gert@greenie.muc.de>
Sat, 10 Oct 2020 08:14:35 +0000 (10:14 +0200)
committerGert Doering <gert@greenie.muc.de>
Sat, 10 Oct 2020 09:10:54 +0000 (11:10 +0200)
commit14bd92b7e4a698678200f439ddda1ee321bb8ee8
treef783921f81a14f7d26db04819a52b5ac940e21d9
parentf0734e499562175a6ebbefbfa12b730c976e2507
Fix compilation on pre-EKM mbedTLS libraries.

commit f0734e49956217 simplified key_state_export_keying_material(),
changing the function prototype.  For older mbedTLS versions, there
is an "always fail" dummy function which was overlooked in that change.

Fix prototype.

v2: also adjust function return (NULL -> false)

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Steffan Karger <steffan@karger.me>
Message-Id: <20201010081435.2154-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21198.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/ssl_mbedtls.c