aboutsummaryrefslogtreecommitdiffstats
path: root/include/openssl/ssl.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-04-06 11:12:12 +0100
committerMatt Caswell <matt@openssl.org>2016-04-13 08:59:03 +0100
commit6457615ac82d688a965c9b2cce9611e0559635be (patch)
tree4d82a1620d74f255b1b01840bce706531766a464 /include/openssl/ssl.h
parent20c56358e6f278d6a469a92280d7a38be44dbe3e (diff)
downloadopenssl-6457615ac82d688a965c9b2cce9611e0559635be.tar.gz
Fix explicit de-init macros
The no-op de-init macros may fail because of extraneous ";", so we use a slightly different construct instead. Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'include/openssl/ssl.h')
-rw-r--r--include/openssl/ssl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h
index 6b66407edc..ef7ef56802 100644
--- a/include/openssl/ssl.h
+++ b/include/openssl/ssl.h
@@ -1836,7 +1836,7 @@ STACK_OF(SSL_COMP) *SSL_COMP_get_compression_methods(void);
__owur STACK_OF(SSL_COMP) *SSL_COMP_set0_compression_methods(STACK_OF(SSL_COMP)
*meths);
#if OPENSSL_API_COMPAT < 0x10100000L
-# define SSL_COMP_free_compression_methods()
+# define SSL_COMP_free_compression_methods() while(0) continue
#endif
__owur int SSL_COMP_add_compression_method(int id, COMP_METHOD *cm);