ssl_test_common_source.c: new source file for common SSL test code

Create a new source file for code that is shared between ssl_client2.c
and ssl_server2.c, but cannot be compiled separately and instead needs
to be #include'd in each program that uses it.

This is for code that references macros or types that are defined
differently in the two programs.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2021-01-05 23:34:27 +01:00
parent a3ed34fed6
commit 0d980b8be8
5 changed files with 34 additions and 3 deletions

View file

@ -1,5 +1,8 @@
/*
* Common code for SSL test programs
* Common code library for SSL test programs.
*
* In addition to the functions in this file, there is shared source code
* that cannot be compiled separately in "ssl_test_common_source.c".
*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0