Skip to content

Build errors when compiling with TLS1.3 only #357

@Coueron

Description

@Coueron

Hello,

I encounter the same issue than #59 .

I set in nx_secure_user.h:

#define NX_SECURE_TLS_ENABLE_TLS_1_3
#define NX_SECURE_TLS_TLS_1_2_ENABLED                   (0)

One of the compile errors

nx_secure/src/nx_secure_tls_1_3_client_handshake.c: In function '_nx_secure_tls_1_3_client_handshake':
nx_secure/src/nx_secure_tls_1_3_client_handshake.c:654:68: error: 'NX_SECURE_TLS_CRYPTO' {aka 'struct NX_SECURE_TLS_CRYPTO_STRUCT'} has no member named 'nx_secure_tls_handshake_hash_sha256_method'
  654 |             method_ptr = tls_session -> nx_secure_tls_crypto_table -> nx_secure_tls_handshake_hash_sha256_method;
      |                                                                    ^~

Regards

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Discussion

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions