From d43ccb66fb356f0a65819d22962cb508d3d79e39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 23 Jan 2015 17:38:09 +0000 Subject: [PATCH] Quit using deprecated header. --- programs/ssl/ssl_pthread_server.c | 2 +- programs/ssl/ssl_server2.c | 2 +- programs/test/selftest.c | 2 +- tests/suites/helpers.function | 4 ---- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/programs/ssl/ssl_pthread_server.c b/programs/ssl/ssl_pthread_server.c index 3f7d2cd70..96e872a60 100644 --- a/programs/ssl/ssl_pthread_server.c +++ b/programs/ssl/ssl_pthread_server.c @@ -48,7 +48,7 @@ #endif #if defined(POLARSSL_MEMORY_BUFFER_ALLOC_C) -#include "polarssl/memory.h" +#include "polarssl/memory_buffer_alloc.h" #endif #if !defined(POLARSSL_BIGNUM_C) || !defined(POLARSSL_CERTS_C) || \ diff --git a/programs/ssl/ssl_server2.c b/programs/ssl/ssl_server2.c index 0126b4ce5..7e0af496d 100644 --- a/programs/ssl/ssl_server2.c +++ b/programs/ssl/ssl_server2.c @@ -79,7 +79,7 @@ int main( int argc, char *argv[] ) #endif #if defined(POLARSSL_MEMORY_BUFFER_ALLOC_C) -#include "polarssl/memory.h" +#include "polarssl/memory_buffer_alloc.h" #endif #define DFL_SERVER_ADDR NULL diff --git a/programs/test/selftest.c b/programs/test/selftest.c index aa4410d0d..15a63d004 100644 --- a/programs/test/selftest.c +++ b/programs/test/selftest.c @@ -57,7 +57,7 @@ #include "polarssl/timing.h" #if defined(POLARSSL_MEMORY_BUFFER_ALLOC_C) -#include "polarssl/memory.h" +#include "polarssl/memory_buffer_alloc.h" #endif int main( int argc, char *argv[] ) diff --git a/tests/suites/helpers.function b/tests/suites/helpers.function index b00642946..2cc129a52 100644 --- a/tests/suites/helpers.function +++ b/tests/suites/helpers.function @@ -1,7 +1,3 @@ -#if defined(POLARSSL_MEMORY_BUFFER_ALLOC_C) -#include "polarssl/memory.h" -#endif - #if defined(POLARSSL_PLATFORM_C) #include "polarssl/platform.h" #else