7 years, 5 months ago.

How to enable SHA1 to run mbed-os-example-tls-tls-client example using mbed Online Compiler

Hi, how can I enable SHA1 option of mbedTLS MBEDTLS_SHA1_C to run the mbed-os-example-tls-tls-client example with the mbed Online Compiler?

Is there the possiblity to define preprocessor macros like in gcc -DMBEDTLS_SHA1_C or can the changes be made with an "overriding" file?

UART output:
Using Ethernet LWIP
Client IP Address is 192.168.1.153
mbedtls_x509_crt_parse() failed: -0x262e (-9774): X509 - Signature algorithm (oid) is unsupported : OID - OID is not found

1 Answer