Closed ReKawashima closed 3 years ago
Thanks @ReKawashima ! We will fix it in the next release.
@ReKawashima , I'm sorry to let you know that the fix is not in the 6.1.8 release. We are working on it right now and will be included in 6.1.9 release.
@TiejunMS -san, Thank you for information. I'll check the fix after v6.1.9 release. Closing this ticket. Thanks.
In NetX Secure TLS 1.3, I think nx_secure_tls_server_state variable is necessary in TLS Client mode to save the state of server. But, if disabled server function by NX_SECURE_TLS_SERVER_DISABLED macro to reduce code and data usage, this variable is removed. So, we get build error "NX_SECURE_TLS_SESSION' has no member named 'nx_secure_tls_server_state".
I think nx_secure_tls_server_state variable should not be removed if using TLS1.3.
I suggest the following change.
/ The state of the server handshake if this is a server socket. /
NX_SECURE_TLS_SERVER_STATE nx_secure_tls_server_state;
#endif
(See https://github.com/azure-rtos/netxduo/blob/master/nx_secure/inc/nx_secure_tls.h#L1206)
/ The state of the server handshake if this is a server socket. /
NX_SECURE_TLS_SERVER_STATE nx_secure_tls_server_state;
#endif