forked from wolfSSL/wolfssl
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:
@ -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
|
||||
|
Reference in New Issue
Block a user