mbedtls/programs/ssl
Gilles Peskine 504c1a361e ssl_test_lib: move common functions and variables
Move from ssl_*2.c to ssl_test_lib.c:
* Functions that have exactly identical definitions in the two
  programs, and that don't reference the global variable opt which
  has a different type in the client and in the server. Also declare
  these functions in ssl_test_lib.h.

Move from ssl_*2.c to ssl_test_common_source.c:
* Functions that have exactly identical definitions in the two
  programs, but access fields of the global variable opt which
  has a different structure type in the client and in the server.
* The array ssl_sig_hashes_for_test, because its type is incomplete.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-01-06 10:25:35 +01:00
..
CMakeLists.txt ssl_test_lib.[hc]: new source file for common SSL test code 2021-01-06 10:25:35 +01:00
dtls_client.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
dtls_server.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
mini_client.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
ssl_client1.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
ssl_client2.c ssl_test_lib: move common functions and variables 2021-01-06 10:25:35 +01:00
ssl_context_info.c ssl_context_info: fix config requirements 2020-11-09 15:17:07 +01:00
ssl_fork_server.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
ssl_mail_client.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
ssl_pthread_server.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
ssl_server.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
ssl_server2.c ssl_test_lib: move common functions and variables 2021-01-06 10:25:35 +01:00
ssl_test_common_source.c ssl_test_lib: move common functions and variables 2021-01-06 10:25:35 +01:00
ssl_test_lib.c ssl_test_lib: move common functions and variables 2021-01-06 10:25:35 +01:00
ssl_test_lib.h ssl_test_lib: move common functions and variables 2021-01-06 10:25:35 +01:00