Topic: Generate CSR on Arduino - incomplete type 'struct tm'
Hello. I'm trying your CSR generating example on an Arduino and the compile fails with:
:\Arduino\arduino-1.8.12\libraries\wolfSSL\asn.c: In function 'SetTime':
C:\Arduino\arduino-1.8.12\libraries\wolfSSL\asn.c:10402:29: error: dereferencing pointer to incomplete type 'struct tm'
output[i++] = itob((date->tm_year % 10000) / 1000);
^
C:\Arduino\arduino-1.8.12\libraries\wolfSSL\asn.c: In function 'SetValidity':
C:\Arduino\arduino-1.8.12\libraries\wolfSSL\asn.c:10461:15: error: storage size of 'localTime' isn't known
struct tm localTime;
^
Is there some time setting somewhere I'm missing?
Thanks!