summaryrefslogtreecommitdiffstats
path: root/ssl/d1_enc.c
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2009-01-05 14:43:07 +0000
committerLutz Jänicke <jaenicke@openssl.org>2009-01-05 14:43:07 +0000
commitf4677b79609a17b125c46a8bc9899be94ac65919 (patch)
tree313045123a9d966c5cf90023a47d65ad5a32b51e /ssl/d1_enc.c
parent92308905dd6d5ff05b8dd2b6218a72669dc94710 (diff)
Fix compilation with -no-comp by adding some more #ifndef OPENSSL_NO_COMP
Some #include statements were not properly protected. This will go unnoted on most systems as openssl/comp.h tends to be installed as a system header file by default but may become visible when cross compiling.
Diffstat (limited to 'ssl/d1_enc.c')
-rw-r--r--ssl/d1_enc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/d1_enc.c b/ssl/d1_enc.c
index 8676125843..cf3332e4e4 100644
--- a/ssl/d1_enc.c
+++ b/ssl/d1_enc.c
@@ -115,7 +115,9 @@
#include <stdio.h>
#include "ssl_locl.h"
+#ifndef OPENSSL_NO_COMP
#include <openssl/comp.h>
+#endif
#include <openssl/evp.h>
#include <openssl/hmac.h>
#include <openssl/md5.h>