mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
ssl_test_lib: move initial includes and is-it-supported check
Move from ssl_*2.c to ssl_test_lib.h: * The inclusion of the config header file (identical). * The fallback definitions of platform functions (almost identical: server2 also had snprintf and the order and whitespace was slightly different). * The compilation guards checking that required options are enabled (tweaked to make them common, with MBEDTLS_SSL_{CLI,SRV}_C separated out). Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@ -22,3 +22,6 @@
|
||||
|
||||
#include "ssl_test_lib.h"
|
||||
|
||||
#if !defined(MBEDTLS_SSL_TEST_IMPOSSIBLE)
|
||||
|
||||
#endif /* !defined(MBEDTLS_SSL_TEST_IMPOSSIBLE) */
|
||||
|
Reference in New Issue
Block a user