Opened 4 years ago

Closed 4 years ago

#698 closed Bug / Defect (wontfix)

mbedtls 2.3.0 breaks compilation

Reported by: Gert Döring Owned by: Steffan Karger
Priority: major Milestone: alpha 2.4
Component: Generic / unclassified Version: OpenVPN git master branch (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords:
Cc:

Description

I'm totally lazy, so I'm just throwing a bug @syzzer :-)

Making all in openvpn
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include  -I../../include  -I../../src/compat           -g -O2 -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c
In file included from ssl_mbedtls.h:35,
                 from ssl_backend.h:42,
                 from ssl_common.h:39,
                 from ssl.h:46,
                 from ps.h:32,
                 from error.c:43:
/usr/include/mbedtls/ssl.h:545: error: expected specifier-qualifier-list before 'mbedtls_time_t'
*** [error.o] Error code 1

On FreeBSD 9.3, after...

Jul 9 08:55:09 fbsd91 pkg: mbedtls upgraded: 2.2.1 -> 2.3.0

Change History (1)

comment:1 Changed 4 years ago by Steffan Karger

Resolution: wontfix
Status: newclosed

This is a bug in mbed TLS 2.3.0:
https://github.com/ARMmbed/mbedtls/issues/522

It's fixed in their development branch. For now, people (and distros) apply the following patch:
https://github.com/ARMmbed/mbedtls/commit/7247f99b3e068a2b90b7776a2cdd438fddb7a38b

Note: See TracTickets for help on using tickets.