From c019035e8e88f4df0db45e553b4607e90b3677ba Mon Sep 17 00:00:00 2001 From: Simon Butcher Date: Wed, 13 Apr 2016 11:52:56 +0100 Subject: [PATCH] Add missing stdlib.h header to rsa sample programs --- programs/pkey/rsa_decrypt.c | 1 + programs/pkey/rsa_encrypt.c | 1 + 2 files changed, 2 insertions(+) diff --git a/programs/pkey/rsa_decrypt.c b/programs/pkey/rsa_decrypt.c index e96367a7c..0200bd7ed 100644 --- a/programs/pkey/rsa_decrypt.c +++ b/programs/pkey/rsa_decrypt.c @@ -29,6 +29,7 @@ #include "mbedtls/platform.h" #else #include +#include #define mbedtls_printf printf #define mbedtls_exit exit #endif diff --git a/programs/pkey/rsa_encrypt.c b/programs/pkey/rsa_encrypt.c index 1ba8deae5..4b739a3f7 100644 --- a/programs/pkey/rsa_encrypt.c +++ b/programs/pkey/rsa_encrypt.c @@ -29,6 +29,7 @@ #include "mbedtls/platform.h" #else #include +#include #define mbedtls_fprintf fprintf #define mbedtls_printf printf #define mbedtls_exit exit