mbedtls/programs/ssl
Manuel Pégourié-Gonnard a88399c091 Improve demo/testing code in client/server2
Previously it was missing reset in case 1, and in case 2 the code was never
executed as the option value was reset to 0.

Tighten checking of return values of save(NULL, 0) now that it works.

Also, improve the printed output as well as the comments.

I checked manually that everything now works and fail in the expected way:
save, reset-or-reinit and load all succeed, but the subsequent read or write
fails.
2019-08-23 13:11:31 +03:00
..
CMakeLists.txt Improve cmake inclusion of query_config.c when building apps 2019-02-07 10:38:22 +00:00
dtls_client.c Remove mbedtls_param_failed from programs 2019-06-13 16:51:59 +02:00
dtls_server.c Remove mbedtls_param_failed from programs 2019-06-13 16:51:59 +02:00
mini_client.c Remove mbedtls_param_failed from programs 2019-06-13 16:51:59 +02:00
query_config.c Add new config MBEDTLS_SSL_CONTEXT_SERIALIZATION 2019-08-23 12:52:29 +03:00
ssl_client1.c Remove mbedtls_param_failed from programs 2019-06-13 16:51:59 +02:00
ssl_client2.c Improve demo/testing code in client/server2 2019-08-23 13:11:31 +03:00
ssl_fork_server.c Remove mbedtls_param_failed from programs 2019-06-13 16:51:59 +02:00
ssl_mail_client.c Remove mbedtls_param_failed from programs 2019-06-13 16:51:59 +02:00
ssl_pthread_server.c Remove mbedtls_param_failed from programs 2019-06-13 16:51:59 +02:00
ssl_server.c Remove mbedtls_param_failed from programs 2019-06-13 16:51:59 +02:00
ssl_server2.c Improve demo/testing code in client/server2 2019-08-23 13:11:31 +03:00