diff options
author | Matt Caswell <matt@openssl.org> | 2016-04-06 11:12:12 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-04-13 08:59:03 +0100 |
commit | 6457615ac82d688a965c9b2cce9611e0559635be (patch) | |
tree | 4d82a1620d74f255b1b01840bce706531766a464 /include/openssl/comp.h | |
parent | 20c56358e6f278d6a469a92280d7a38be44dbe3e (diff) | |
download | openssl-new-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/comp.h')
-rw-r--r-- | include/openssl/comp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/comp.h b/include/openssl/comp.h index bfdadce1a1..d2537f8d56 100644 --- a/include/openssl/comp.h +++ b/include/openssl/comp.h @@ -81,7 +81,7 @@ int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen, COMP_METHOD *COMP_zlib(void); #if OPENSSL_API_COMPAT < 0x10100000L -#define COMP_zlib_cleanup() +#define COMP_zlib_cleanup() while(0) continue #endif # ifdef HEADER_BIO_H |