mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-28 18:07:34 +08:00
Unify the duplicated sig_algs option parsing from ssl_client2.c and ssl_server2.c into parse_sig_algs() in ssl_test_lib.c, next to parse_groups(). Move mbedtls_print_supported_sig_algs() there as well (it only exists for the parse-error path) and drop its static copy from ssl_test_common_source.c. In addition to TLS 1.3 signature scheme names, parse_sig_algs() now accepts a TLS 1.2 SignatureAndHashAlgorithm pair as 4 hex digits (e.g. "0401" for SHA-256 with RSA). Documented in USAGE_SIG_ALGS. Signed-off-by: v1rtu3x <149050962+v1rtu3x@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| dtls_client.c | ||
| dtls_server.c | ||
| mini_client.c | ||
| ssl_client1.c | ||
| ssl_client2.c | ||
| ssl_context_info.c | ||
| ssl_fork_server.c | ||
| ssl_mail_client.c | ||
| ssl_pthread_server.c | ||
| ssl_server2.c | ||
| ssl_server.c | ||
| ssl_test_common_source.c | ||
| ssl_test_lib.c | ||
| ssl_test_lib.h | ||