Hello Dear,
I was trying to use WolfSSL 3.9.8.
My test code is as below:
{
#include "wolfssl/wolfcrypt/asn.h"
...
#include <time.h>
...
}
It will get compiler error as below:
.../include_posix/time.h", line 104: Error: #101: "tm" has already been declared in the current scope
__USING_NAMESPACE_STD(tm)
As wolfSSL have defined it's own struct of "tm", i think there maybe some conflict between wolfSSL and posix head file.
So I tried to modify wolfssl/wolfcrypt/asn.h which is attached, and the compiler success.
Is my modify OK? Is there any bug in wolfssl?
thanks for your help