You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:\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!
My user_settings.h file has this:
/* Generated wolfSSL user_settings.h file for Arduino */
#ifndef ARDUINO_USER_SETTINGS_H
#define ARDUINO_USER_SETTINGS_H
/* Platform */
#define WOLFSSL_ARDUINO
/* Math library (remove this to use normal math)*/
#define USE_FAST_MATH
#define TFM_NO_ASM
/* RNG DEFAULT !!FOR TESTING ONLY!! */
/* comment out the error below to get started w/ bad entropy source
* This will need fixed before distribution but is OK to test with */
//#error "needs solved, see: https://www.wolfssl.com/docs/porting-guide/"
#define WOLFSSL_GENSEED_FORTEST
#define WOLFSSL_DER_TO_PEM
#define WOLFSSL_CERT_GEN
#define WOLFSSL_CERT_REQ
#define XGMTIME
#define XTIME fnSecondsSinceEpoch
extern unsigned long my_time(unsigned long* timer);
#define NO_ASN_TIME
#endif /* ARDUINO_USER_SETTINGS_H */
The text was updated successfully, but these errors were encountered:
Hello. I'm trying your CSR generating example on an Arduino but the compile fails with:
Is there some time setting somewhere I'm missing?
Thanks!
My user_settings.h file has this:
The text was updated successfully, but these errors were encountered: