Swap binary axTLS libssl for direct compiled version

This commit is contained in:
Angus Gratton 2015-06-02 10:43:08 +10:00
parent c19346fa23
commit 3fcec6106f
21 changed files with 590 additions and 1925 deletions

29
axtls/axtls_esp_stubs.c Normal file
View 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) {}
}