Update wolfCrypt porting layer for Mynewt OS to provide declarations needed to remove build warning for time API used for XTIME

This commit is contained in:
tim-weller-wolfssl
2023-04-12 12:30:42 -05:00
parent 6a89464176
commit 72fc023d38

View File

@ -916,6 +916,8 @@ WOLFSSL_ABI WOLFSSL_API int wolfCrypt_Cleanup(void);
#elif defined(WOLFSSL_APACHE_MYNEWT)
#include "os/os_time.h"
typedef long time_t;
extern time_t mynewt_time(time_t* timer);
#define XTIME(t1) mynewt_time((t1))
#define WOLFSSL_GMTIME
#define USE_WOLF_TM