summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2014-06-11 14:31:08 +0100
committerDr. Stephen Henson <steve@openssl.org>2014-06-11 14:33:32 +0100
commitb66f59adfa281abbc140aaf337e1b474830225c1 (patch)
tree8cdf1b7945503ba2182c09b4b763f8d772795e33
parent9ab788aa23feaa0e3b9efc2213e0c27913f8d987 (diff)
Fix compilation with no-comp
(cherry picked from commit 7239a09c7b5757ed8d0e9869f3e9b03c0e11f4d1)
-rw-r--r--apps/enc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/enc.c b/apps/enc.c
index 19ea3df940..c6a211ba87 100644
--- a/apps/enc.c
+++ b/apps/enc.c
@@ -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);