Fix compilation with no-comp
authorDr. Stephen Henson <steve@openssl.org>
Wed, 11 Jun 2014 13:31:08 +0000 (14:31 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 11 Jun 2014 13:41:00 +0000 (14:41 +0100)
apps/enc.c

index d84c51dbcccbbd8da078aaaaa345bd1f177d9d5e..928d16bccc811ffbee950130cd1a07587ff3154b 100644 (file)
@@ -67,7 +67,9 @@
 #include <openssl/x509.h>
 #include <openssl/rand.h>
 #include <openssl/pem.h>
+#ifndef OPENSSL_NO_COMP
 #include <openssl/comp.h>
+#endif
 #include <ctype.h>
 
 int set_hex(char *in,unsigned char *out,int size);