summaryrefslogtreecommitdiffstats
path: root/crypto/comp
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-03-17 12:55:02 +0000
committerMatt Caswell <matt@openssl.org>2016-03-18 12:13:11 +0000
commita6406c95984a1009f5676bbcf60cc0d6db107af4 (patch)
tree52e1964006cec3a17f1b754d5175188b87d46af1 /crypto/comp
parent04d5242c46b0f348f5ab92e9764f138547b237c5 (diff)
Fix the no-comp option for Windows
no-comp on Windows was not actually suppressing compilation of the code, although it was suppressing its use. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/comp')
-rw-r--r--crypto/comp/comp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/comp/comp.h b/crypto/comp/comp.h
index 406c428aae..60a073404e 100644
--- a/crypto/comp/comp.h
+++ b/crypto/comp/comp.h
@@ -4,6 +4,10 @@
# include <openssl/crypto.h>
+# ifdef OPENSSL_NO_COMP
+# error COMP is disabled.
+# endif
+
#ifdef __cplusplus
extern "C" {
#endif