Move some includes to ssl_internal.h

Also removed one from ssl.h and add it in programs where it belongs
This commit is contained in:
Manuel Pégourié-Gonnard 2015-05-26 12:19:45 +02:00
parent cd4fcc6c8b
commit 56273daea0
5 changed files with 19 additions and 20 deletions

View file

@ -59,6 +59,7 @@ int main( void )
#include "mbedtls/ctr_drbg.h"
#include "mbedtls/error.h"
#include "mbedtls/certs.h"
#include "mbedtls/timing.h"
#define SERVER_PORT 4433
#define SERVER_NAME "localhost"

View file

@ -70,6 +70,7 @@ int main( void )
#include "mbedtls/net.h"
#include "mbedtls/error.h"
#include "mbedtls/debug.h"
#include "mbedtls/timing.h"
#if defined(MBEDTLS_SSL_CACHE_C)
#include "mbedtls/ssl_cache.h"

View file

@ -56,6 +56,7 @@ int main( void )
#include "mbedtls/x509.h"
#include "mbedtls/error.h"
#include "mbedtls/debug.h"
#include "mbedtls/timing.h"
#include <stdio.h>
#include <stdlib.h>