Swap binary axTLS libssl for direct compiled version
This commit is contained in:
parent
c19346fa23
commit
3fcec6106f
21 changed files with 590 additions and 1925 deletions
29
axtls/axtls_esp_stubs.c
Normal file
29
axtls/axtls_esp_stubs.c
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
#include <stdio.h>
|
||||
/*
|
||||
* Stub time functions for TLS time-related operations
|
||||
*
|
||||
* ESPTODO: Revisit these soon as gettimeofday() is used for entropy
|
||||
*/
|
||||
|
||||
time_t time(time_t *t)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
time_t mktime(struct tm *tm)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int gettimeofday(struct timeval *tv, void *tz)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void abort(void)
|
||||
{
|
||||
printf("abort() was called.\r\n");
|
||||
while(1) {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue