Manuel Pégourié-Gonnard fc8ad2788f SSL programs: improve command-line error reporting
Every now and then, I see of these programs failing with a super-long
usage message that gives no clue as to what went wrong. (Recently it
happened with a test case in ssl-opt.sh with a fairly long command line
that was entirely correct, except some options were not valid in this
config - the test should have been skipped but wasn't due to some other
bug. It took me longer to figure out than it should have, and could have
if the program had simply reported which param was not recognized.)

Also, have an explicit "help" command, separate "help_ciphersuites", and
have default usage message that's not multiple screens long.

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2023-08-23 20:34:31 +02:00
..
CMakeLists.txt Merge pull request #3897 from d3zd3z/fix-cmake28 2021-01-26 13:35:56 +01:00
dtls_client.c Add guards for mbedtls_psa_crypto_free() 2023-04-25 12:00:07 +02:00
dtls_server.c Add guards for mbedtls_psa_crypto_free() 2023-04-25 12:00:07 +02:00
mini_client.c Add guards for mbedtls_psa_crypto_free() 2023-04-25 12:00:07 +02:00
ssl_client1.c Add guards for mbedtls_psa_crypto_free() 2023-04-25 12:00:07 +02:00
ssl_client2.c SSL programs: improve command-line error reporting 2023-08-23 20:34:31 +02:00
ssl_context_info.c Fix warnings from clang-16 2023-07-27 00:03:21 +01:00
ssl_fork_server.c Add guards for mbedtls_psa_crypto_free() 2023-04-25 12:00:07 +02:00
ssl_mail_client.c Add guards for mbedtls_psa_crypto_free() 2023-04-25 12:00:07 +02:00
ssl_pthread_server.c Add guards for mbedtls_psa_crypto_free() 2023-04-25 12:00:07 +02:00
ssl_server2.c SSL programs: improve command-line error reporting 2023-08-23 20:34:31 +02:00
ssl_server.c Add guards for mbedtls_psa_crypto_free() 2023-04-25 12:00:07 +02:00
ssl_test_common_source.c Switch to the new code style 2023-01-11 14:52:35 +01:00
ssl_test_lib.c Switch to the new code style 2023-01-11 14:52:35 +01:00
ssl_test_lib.h Switch to the new code style 2023-01-11 14:52:35 +01:00