include opensslconf.h if OPENSSL_NO_* is used
authorNils Larsch <nils@openssl.org>
Tue, 31 May 2005 17:31:50 +0000 (17:31 +0000)
committerNils Larsch <nils@openssl.org>
Tue, 31 May 2005 17:31:50 +0000 (17:31 +0000)
apps/ec.c
apps/ecparam.c
apps/pkcs12.c

index a763daa65369c3c42c4558318dd894fa810c6513..9ddaddfe5e7033858f749b7c52f359e9d7a7462b 100644 (file)
--- a/apps/ec.c
+++ b/apps/ec.c
@@ -56,6 +56,7 @@
  *
  */
 
+#include <openssl/opensslconf.h>
 #ifndef OPENSSL_NO_EC
 #include <stdio.h>
 #include <stdlib.h>
index 167fd1faaa66ee82f2284ca81bb292b04d582eb1..4e1fc837ed6aca2366287bf9e25bd616d7512130 100644 (file)
@@ -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>
index d77358a239bd974a61aaa2b24add729b76535291..c22c00fce156147fe9e0b121f4cecdd0c93079ba 100644 (file)
@@ -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>