commit | 4982e527c6232a78e622515e14499fba234ed519 | [log] [tgz] |
---|---|---|
author | Simon Butcher <simon.butcher@arm.com> | Wed Aug 24 20:20:20 2016 +0300 |
committer | Simon Butcher <simon.butcher@arm.com> | Wed Aug 24 20:24:21 2016 +0300 |
tree | 3a2bd3bcda97e772b0b32f5133a410850a986af9 | |
parent | cdb3ad03ed63a8f4177d8b208d699cd57fd480a1 [diff] [blame] |
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.
diff --git a/programs/pkey/dh_genprime.c b/programs/pkey/dh_genprime.c index 072fe13..84a94a1 100644 --- a/programs/pkey/dh_genprime.c +++ b/programs/pkey/dh_genprime.c
@@ -29,6 +29,7 @@ #include "mbedtls/platform.h" #else #include <stdio.h> +#include <stdlib.h> #define mbedtls_printf printf #define mbedtls_time_t time_t #endif