From 6e04afb8c5779314b15a6e77dcbd6868874904eb Mon Sep 17 00:00:00 2001 From: Nils Larsch Date: Tue, 31 May 2005 17:36:06 +0000 Subject: [PATCH] include opensslconf.h if OPENSSL_NO_* is used --- apps/ec.c | 1 + apps/ecparam.c | 2 ++ apps/pkcs12.c | 5 +++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/ec.c b/apps/ec.c index a763daa653..9ddaddfe5e 100644 --- a/apps/ec.c +++ b/apps/ec.c @@ -56,6 +56,7 @@ * */ +#include #ifndef OPENSSL_NO_EC #include #include diff --git a/apps/ecparam.c b/apps/ecparam.c index 167fd1faaa..4e1fc837ed 100644 --- a/apps/ecparam.c +++ b/apps/ecparam.c @@ -68,6 +68,8 @@ * Sheueling Chang Shantz and Douglas Stebila of Sun Microsystems Laboratories. * */ + +#include #ifndef OPENSSL_NO_EC #include #include diff --git a/apps/pkcs12.c b/apps/pkcs12.c index d77358a239..c22c00fce1 100644 --- a/apps/pkcs12.c +++ b/apps/pkcs12.c @@ -1,6 +1,4 @@ /* pkcs12.c */ -#if !defined(OPENSSL_NO_DES) && !defined(OPENSSL_NO_SHA1) - /* Written by Dr Stephen N Henson (shenson@bigfoot.com) for the OpenSSL * project. */ @@ -58,6 +56,9 @@ * */ +#include +#if !defined(OPENSSL_NO_DES) && !defined(OPENSSL_NO_SHA1) + #include #include #include -- 2.25.1