Skip to content

Mbed Client LITE does not compile with Mbed OS 5.13.0-RC2 #10788

@teetak01

Description

@teetak01

Description

Mbed Client Lite example (mbed-client-lite-example-restricted) does not compile with Mbed OS 5.13.0-RC2.

This seems to be related to the TLS flagging:

Compile [ 93.7%]: ssl_tls.c
[Error] ssl_tls.c@865,14: 'mbedtls_ssl_transform {aka struct mbedtls_ssl_transform}' has no member named 'encrypt_then_mac'
[ERROR] ./mbed-os/features/mbedtls/src/ssl_tls.c: In function 'mbedtls_ssl_derive_keys':
./mbed-os/features/mbedtls/src/ssl_tls.c:865:14: error: 'mbedtls_ssl_transform {aka struct mbedtls_ssl_transform}' has no member named 'encrypt_then_mac'
     transform->encrypt_then_mac = session->encrypt_then_mac;

As a workaround it is possible to add this to application TLS-configuration file:
#undef MBEDTLS_SSL_ENCRYPT_THEN_MAC

Can be reproduced with the (limited access) mbed-client-lite-example-restricted application.

Issue request type

[ ] Question
[ ] Enhancement
[X] Bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions