diff options
author | Nils Larsch <nils@openssl.org> | 2005-05-31 17:36:06 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2005-05-31 17:36:06 +0000 |
commit | 6e04afb8c5779314b15a6e77dcbd6868874904eb (patch) | |
tree | ee17f942c1765912ed3e3435223f43de8f9e794d | |
parent | 165fca51e0c03a5291995b8acc7612b4ca35a859 (diff) |
include opensslconf.h if OPENSSL_NO_* is used
-rw-r--r-- | apps/ec.c | 1 | ||||
-rw-r--r-- | apps/ecparam.c | 2 | ||||
-rw-r--r-- | apps/pkcs12.c | 5 |
3 files changed, 6 insertions, 2 deletions
@@ -56,6 +56,7 @@ * */ +#include <openssl/opensslconf.h> #ifndef OPENSSL_NO_EC #include <stdio.h> #include <stdlib.h> 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 <openssl/opensslconf.h> #ifndef OPENSSL_NO_EC #include <assert.h> #include <stdio.h> 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 <openssl/opensslconf.h> +#if !defined(OPENSSL_NO_DES) && !defined(OPENSSL_NO_SHA1) + #include <stdio.h> #include <stdlib.h> #include <string.h> |