summaryrefslogtreecommitdiff
path: root/apps/enc.c
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:41:00 +0100
commit9494e99b406ba4df3ede4bb0c1de1285ebc5b353 (patch)
treea6963ac46ee1293de9e3f5f65e5bd21d14b505d9 /apps/enc.c
parent1cf8f57b43a99275ac0938e9e230bd0434699d87 (diff)
downloadopenssl-new-9494e99b406ba4df3ede4bb0c1de1285ebc5b353.tar.gz
Fix compilation with no-comp
Diffstat (limited to 'apps/enc.c')
-rw-r--r--apps/enc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/enc.c b/apps/enc.c
index d84c51dbcc..928d16bccc 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);