summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_ciph.c
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2009-01-05 14:43:05 +0000
committerLutz Jänicke <jaenicke@openssl.org>2009-01-05 14:43:05 +0000
commitfceac0bc74ad0a1c2d93f49d619edbc2d948dddc (patch)
tree0b2844ab243a7345856e08f8eee6a8c8a770a946 /ssl/ssl_ciph.c
parent792bbc2374b4ea2d1b722ecdc1ff74417219b3ae (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/ssl_ciph.c')
-rw-r--r--ssl/ssl_ciph.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c
index 8858dcb8c6..4826df8002 100644
--- a/ssl/ssl_ciph.c
+++ b/ssl/ssl_ciph.c
@@ -142,7 +142,9 @@
#include <stdio.h>
#include <openssl/objects.h>
+#ifndef OPENSSL_NO_COMP
#include <openssl/comp.h>
+#endif
#ifndef OPENSSL_NO_ENGINE
#include <openssl/engine.h>
#endif