Add MBEDTLS_ALLOW_PRIVATE_ACCESS to test programs

Signed-off-by: Mateusz Starzyk <mateusz.starzyk@mobica.com>
This commit is contained in:
Mateusz Starzyk 2021-05-19 17:54:54 +02:00
parent 363eb29d4b
commit 6c2e9b6048
16 changed files with 32 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
#include "mbedtls/ssl.h"
#include "mbedtls/entropy.h"
#include "mbedtls/ctr_drbg.h"

View File

@ -1,3 +1,5 @@
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
#include <string.h>
#include <stdlib.h>
#include <stdint.h>

View File

@ -1,3 +1,5 @@
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
#include <string.h>
#include <stdlib.h>
#include <stdint.h>

View File

@ -1,3 +1,5 @@
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
#include <stdint.h>
#include <stdlib.h>
#include "mbedtls/pk.h"

View File

@ -1,3 +1,5 @@
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
#include <stdint.h>
#include <stdlib.h>
#include "mbedtls/pk.h"

View File

@ -1,3 +1,5 @@
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
#include "mbedtls/ssl.h"
#include "mbedtls/entropy.h"
#include "mbedtls/ctr_drbg.h"

View File

@ -1,3 +1,5 @@
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
#include <stdint.h>
#include "mbedtls/x509_crl.h"

View File

@ -1,3 +1,5 @@
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
#include <stdint.h>
#include "mbedtls/x509_crt.h"

View File

@ -1,3 +1,5 @@
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
#include <stdint.h>
#include "mbedtls/x509_csr.h"

View File

@ -17,6 +17,8 @@
* limitations under the License.
*/
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
#include "ssl_test_lib.h"
#if defined(MBEDTLS_SSL_TEST_IMPOSSIBLE)

View File

@ -17,6 +17,8 @@
* limitations under the License.
*/
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
#if !defined(MBEDTLS_CONFIG_FILE)
#include "mbedtls/config.h"
#else

View File

@ -17,6 +17,8 @@
* limitations under the License.
*/
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
#include "ssl_test_lib.h"
#if defined(MBEDTLS_SSL_TEST_IMPOSSIBLE)

View File

@ -20,6 +20,8 @@
* limitations under the License.
*/
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
#include "ssl_test_lib.h"
#if defined(MBEDTLS_TEST_HOOKS)

View File

@ -17,6 +17,8 @@
* limitations under the License.
*/
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
#if !defined(MBEDTLS_CONFIG_FILE)
#include "mbedtls/config.h"
#else

View File

@ -17,6 +17,8 @@
* limitations under the License.
*/
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
#if !defined(MBEDTLS_CONFIG_FILE)
#include "mbedtls/config.h"
#else

View File

@ -23,6 +23,8 @@
* example of good general usage.
*/
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
#if !defined(MBEDTLS_CONFIG_FILE)
#include "mbedtls/config.h"
#else