avoid some NO_<cipher> problems
[openssl.git] / apps / pkcs12.c
index 351f131fe170d925d03897c6b975a2b3af35bb27..5defddeb320f47404409a422bed059a307704711 100644 (file)
@@ -1,4 +1,6 @@
 /* pkcs12.c */
+#if !defined(NO_DES) && !defined(NO_SHA1)
+
 /* Written by Dr Stephen N Henson (shenson@bigfoot.com) for the OpenSSL
  * project 1999.
  */
@@ -697,3 +699,5 @@ void hex_prin(BIO *out, unsigned char *buf, int len)
        int i;
        for (i = 0; i < len; i++) BIO_printf (out, "%02X ", buf[i]);
 }
+
+#endif