summaryrefslogtreecommitdiff
path: root/include/openssl/comp.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-03-17 11:50:23 +0000
committerMatt Caswell <matt@openssl.org>2016-03-18 12:09:27 +0000
commit114de5b59502e1764c14082e14f07562ad4e6a15 (patch)
tree87fe1abb8d2ff7c4c061faeb95a2b80c1d568d02 /include/openssl/comp.h
parentbb4cc75b1ea8fb85ed9299dd6d5124eec686359c (diff)
downloadopenssl-new-114de5b59502e1764c14082e14f07562ad4e6a15.tar.gz
Ensure that no-comp functions are flagged as such
mkdef.pl was not detecting no-comp functions. This updates the header file so that mkdef.pl detects that no-comp applies, and the functions are marked accordingly. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'include/openssl/comp.h')
-rw-r--r--include/openssl/comp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/openssl/comp.h b/include/openssl/comp.h
index c7d903fc24..de16a9fcdb 100644
--- a/include/openssl/comp.h
+++ b/include/openssl/comp.h
@@ -58,6 +58,10 @@
# include <openssl/crypto.h>
+# ifdef OPENSSL_NO_COMP
+# error COMP is disabled.
+# endif
+
#ifdef __cplusplus
extern "C" {
#endif