From 4982e527c6232a78e622515e14499fba234ed519 Mon Sep 17 00:00:00 2001 From: Simon Butcher Date: Wed, 24 Aug 2016 20:20:20 +0300 Subject: [PATCH] Adds stdlib.h header to dh_genprime sample app Use of the atoi() function requires stdlib.h to be included when MBEDTLS_PLATFORM_C is not defined. --- programs/pkey/dh_genprime.c | 1 + 1 file changed, 1 insertion(+) diff --git a/programs/pkey/dh_genprime.c b/programs/pkey/dh_genprime.c index 072fe138f..84a94a18b 100644 --- a/programs/pkey/dh_genprime.c +++ b/programs/pkey/dh_genprime.c @@ -29,6 +29,7 @@ #include "mbedtls/platform.h" #else #include +#include #define mbedtls_printf printf #define mbedtls_time_t time_t #endif