cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: MBEDTLS d5800b7761ad9705d2ebca86d7af0c8ee24e427a creates regression wher compiling libcurl error: unknown type name 'mbedtls_time_t'

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sat, 2 Jul 2016 21:27:51 +0200

On Sat, Jul 02, 2016 at 08:32:53PM +0200, Thomas Glanzmann wrote:
> Hello,
> when I compile libcurl with mbedtls-2.3.0 I hit the following libcurl
> compile regression:
>
> In file included from ../lib/urldata.h:98:0,
> from vtls/darwinssl.c:31:
> /home/sithglan/work/vlconnect/curl/../local/win32/include/mbedtls/ssl.h:545:5: error: unknown type name 'mbedtls_time_t'
> mbedtls_time_t start; /*!< starting time */
> ^
> Makefile:2073: recipe for target 'vtls/libcurl_la-darwinssl.lo' failed
> make[2]: *** [vtls/libcurl_la-darwinssl.lo] Error 1

This looks like an mbedtls problem. A client #including an mbedtls include file
(mbedtls/ssl.h in this case) should have all its dependent types defined,
unless it's documented that users need to include another header file first.

>>> Dan
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-07-02