forked from wolfSSL/wolfssl
XTIME in LowResTimer
This commit is contained in:
@ -5978,14 +5978,14 @@ ProtocolVersion MakeDTLSv1_2(void)
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
/* Posix style time */
|
/* Posix style time */
|
||||||
|
#ifndef USER_TIME
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
word32 LowResTimer(void)
|
word32 LowResTimer(void)
|
||||||
{
|
{
|
||||||
return (word32)time(0);
|
return (word32)XTIME(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user