Opened 4 years ago

Closed 4 years ago

#1319 closed Bug / Defect (fixed)

git master fails to build with oldish mbedtls

Reported by: Gert Döring Owned by: Steffan Karger
Priority: minor Milestone: release 2.6
Component: Crypto Version: OpenVPN git master branch (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords: mbedtls, tls_prf_type
Cc: plaisthos


gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include  -I../../include  -I../../src/compat            -DPLUGIN_LIBDIR=\"/usr/local/lib/openvpn/plugins\"  -Wall -Wno-unused-parameter -Wno-unused-function -Wno-stringop-truncation -g -O2 -std=c99 -MT auth_token.o -MD -MP -MF .deps/auth_token.Tpo -c -o auth_token.o auth_token.c
In file included from ssl_backend.h:41:0,
                 from ssl_common.h:38,
                 from ssl.h:43,
                 from openvpn.h:31,
                 from auth_token.c:12:
ssl_mbedtls.h:90:5: error: unknown type name 'mbedtls_tls_prf_types'
     mbedtls_tls_prf_types tls_prf_type;

on today's git master (10abd656a3ae279cea7344055ce23637b7a62f6b), with mbedtls-2.14.1nb1.

We do have an MBEDTLS_VERSION_NUMBER check in configure.h, but it does not seem to catch this new requirement.

Change History (1)

comment:1 Changed 4 years ago by Gert Döring

Resolution: fixed
Status: newclosed

commit 136c5f015c3e7eceecc07a45655d5da5616e9131
Author: Arne Schwabe <arne@…>
Date: Tue Aug 25 06:16:47 2020 +0200

Fix compilation with older mbed TLS versions (mbedtls_tls_prf_types undefined)

Note: See TracTickets for help on using tickets.