include opensslconf.h if OPENSSL_NO_* is used
[openssl.git] / apps / pkcs12.c
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>