wolfssl 3.8.0使用出错。
本人搞嵌入式,最近想换掉使用的openssl,使用wolfssl.但是今天碰到一个编译问题。
wolfssl/openssl/ssl.h
定义:typedef WOLFSSL_ASN1_TIME ASN1_TIME;
ASN1_TIME *tmpstr;
tmptr = X509_get_notAfter(x);
ASN1_to_Str(tmptr, expiration));
下处引用处 编译出错:
i=tm->length;
v=(char *)tm->data;
编译:
test.c:264:6: error: dereferencing pointer to incomplete type
test.c:265:14: error: dereferencing pointer to incomplete type