On (yet unreleased) gcc-11 mbedtls fails build due to new diagnstics: [ 16%] Building C object library/CMakeFiles/mbedtls.dir/ssl_tls.c.o cd /home/slyfox/dev/git/mbedtls/b/library && /usr/x86_64-pc-linux-gnu/gcc-bin/11.0.0/gcc -I/home/sl...
It looks like there is one parameter in the SSL context that is never freed. Using valgrind on Linux, ssl_client1 exits with 100 bytes first allocated to session_negotiate. This is with the latest version from git. I compiled the library...
ERROR: iot_tls_connect L#232 failed ! mbedtls_ssl_handshake returned -0x2700ERROR: iot_tls_connect L#234 Unable to verify the server's certificate. Either it is invalid, or you didn't set ca_file or ca_path to an appropriate value. Alternatively, you may want to use auth_mode=...
An open source, portable, easy to use, readable and flexible TLS library, and reference implementation of the PSA Cryptography API. Releases are on a varying cadence, typically around 3 - 6 months between releases. - mbedtls/programs/ssl/mini_client.c at
An open source, portable, easy to use, readable and flexible TLS library, and reference implementation of the PSA Cryptography API. Releases are on a varying cadence, typically around 3 - 6 months between releases. - mbedtls/programs/ssl/ssl_mail_client.